help me in finding equation of this wave

doctsh

New member
Joined
Oct 22, 2011
Messages
10
Reaction score
0
Points
0
I am looking for an equation for the wave given in the picture(sinewave with periodical missing waves).
I know how sine wave, cos wave will look like, but looking for an analytical equation of this shape where peridocal removal of a wave:
Please help me...
Thanks
Doctsh
 

Attachments

  • WAVEFORM.jpg
    WAVEFORM.jpg
    5.3 KB · Views: 48
[math]f(t) = sin(t)[/math] when [math](2 \cdot n) \cdot T < t < ((2 \cdot n) + 1) \cdot T[/math]
and
[math]f(t) = 0[/math] when [math]((2 \cdot n) + 1) \cdot T < t < ((2 \cdot n) + 2) \cdot T[/math] where n is a natural number with 0: 0, 1, 2, 3,...

I'm assuming you're dropping the negative axis and that the squigly thing in your picture is actually a sine wave.
 
Last edited:
It's a periodic function, with period=3T so you can take the Fourier series of it.
 
It's a periodic function, with period=3T so you can take the Fourier series of it.

Period equals 2T. And if he was capable of performing a Fourier series of it, I'd imagine he'd be capable of figuring out what the equation is :P

There's another condition... T needs to equal 2*Pi.
 
Thanks for all the replies.
I will see how I can apply fourier series.
With regards
Doctsh
 
A function that describes your wave form is this one:
[math]\frac{1}{2}\biggl(SquareWave \biggl(\frac{t}{2T} \biggr) + 1\biggr)sin(2 \pi t / T)[/math])

Afaik, the function you have there is not analytical, but it is harmonic, therefore I tried to run it through wolfram alpha to get a fourier series, but it cannot solve it:
http://www.wolframalpha.com/input/?i=FourierSeries[(1/2+(SquareWave[t/(4pi)]+++1)Sin[t])]
(I disabled the url so as not to flood poor Alpha with the same query over and over again, lest it becomes as depressive as Marvin :) )

In order to compute the fourier series of your waveform, you have to compute the fourier series of the square wave, which is known (check http://mathworld.wolfram.com/FourierSeriesSquareWave.html ), the fourier series of the constant (it only has the coefficient [math]a_0[/math], the fourier series of sin(t).

Once you have got the coefficients for the three series, you add those of the constant (1) and the square wave, then you have to perform a Cauchy product between the coefficients you obtained via the sum and the ones of sin(t): http://mathworld.wolfram.com/CauchyProduct.html

Also, whatever method you use to compute your coefficients, watch out for the periods of the functions you are using, to be sure that there is the same scaling.

I hope I did not make any mistake :P and that it is actually useful.

PS: I still :hailprobe: for the math functionality included in the forum.
 
Last edited:
Back
Top