gistlib
other matlab categories
frequency-spectrum code snippets in matlab
compute the energy of the signal x from its frequency spectrum x in matlab
compute the frequency spectrum of signal x and plot the magnitude in the frequency range fs{2 ¤ f ¤ fs{2, where fs is the sampling frequency. in matlab
use an fft (or fourier series fitting) to calculate the frequency spectrum in matlab
gistlib
by LogSnag