Qunshan, Presumably you're going to want to do a discrete Fourier transform via the dft() function. I'm not sure what you are aiming for here, but the bottom waveform isn't periodic, so you'd need to apply windowing - and given that it appears to be a single period of the top waveform, the distortion caused by the window will be fairly significant. Do you understand how to use Fourier transforms and the effect of various parameters? Andrew
↧