Wave with oscillating frequency

Nikratio
Messages
13
Reaction score
0
Hello,

In order to test-drive a data analysis program, I am looking for a function that generates sine waves with slowly oscillating frequency, i.e. the distance between the maxima should be slowly changing.

I thought that I could simply achieve this by using a function of the form
<br /> f(t) = \sin\Bigl( 2 \pi t \bigl[ 5 + \cos( 2 \pi t / 10 ) \bigr] \Bigl)<br />
and expected to get something that oscillates with a frequency that slowly changes between 4 and 6 over when t goes from 0 to 10.

However, the function behaves in a very different way. It reaches a maximum of f(t)~0.5 at t~3 and has to minima very close to each other at t~4.2.

Can someone help me to understand (a) why the above function doesn't behave the way I expect it to and (b) what function I could use to generate the desired data?


Nikolaus
 
Mathematics news on Phys.org
Hi Nik, you've fallen for a really common mistake with regard to frequency modulation.

In general the instantaneous radian frequency (w=2 pi f) is the time rate of change of phase (phi), this of course is not the same thing as "phase" divided by "t" except for the special case where the phase is a linear function of "t", that is where \phi = 2 \pi f t[/tex].<br /> <br /> So what you really want is,<br /> <br /> \frac{d\phi}{d t} = 2 \pi ( 5 + \cos(\pi t /5) )<br /> <br /> Which upon integration gives,<br /> <br /> \phi = 10 \pi t + 10 \sin(\pi t /5)<br /> <br /> Try using f(t)=sin(phi), with phi as given above and I think you&#039;ll find it does what you&#039;re looking for.
 
Yes, that was it! Thank you very much!
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top