05-10-2022, 08:14 PM
(05-10-2022, 02:57 PM)dcromley Wrote: Maybe I'm off-base, but would your [edit: your FFT ] program process a "square pulse" ? I.e. :
Code: (Select All)Function f1(x) ' for 0 < x < 3
If 1 <= x and x <= 2 then f1 = 1 else f1 = 0
End Funtion
What do you mean by process? you can take an FFT of the pulse like any other signal. Though an ideal pulse (which doesn't really exist) contains infinite frequencies to make that infinitely steep transition.
Here is a modified example showing a square pulse and low-pass filtering which removes that 'sharpness'
Anyways, anything specific you're trying to do?