cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Creating a pulse train out of fourier transform

JA_9803374
5-Regular Member

Creating a pulse train out of fourier transform

Hey there,

 

I am trying to create a pulse train of period 20 ms with a pulse width of 3ms. I am trying to use a fourier transform but I have the incorrect pulse width and I would only like to display the positive amplitude from 0 to A.

JA_9803374_0-1614895833989.pngJA_9803374_1-1614895849870.png

 

4 REPLIES 4
LucMeekes
23-Emerald III
(To:JA_9803374)

This should bring you a little bit closer to your goal:

LucMeekes_0-1614899923011.png

Success!
Luc

 

JA_9803374
5-Regular Member
(To:LucMeekes)

So I tried a different approach which I think is better than my first one. However, my period is wrong but the pulse width is right.

This is just a function to create a pulse signal normally using conditionals:

JA_9803374_0-1614900131933.pngJA_9803374_1-1614900156957.png

JA_9803374_2-1614900233125.pngJA_9803374_3-1614900275534.pngJA_9803374_4-1614900302988.png

 

Looking for something like this?

Werner_E_0-1614946524471.png

 

 

 

 

Of course the coefficients could easily be calculated directly and so you may define a one-liner function with T, L and Û as additional arguments:

Werner_E_0-1614947921102.png

 

Top Tags