How do I perform Spectral Analysis (FFT, Windowing, Detrending) on Sonic Anemometer Data?
take fft of data

let's say data is x = [ 3 4 5 6 6 9  7 ]

take fft

y = fft(x);
shift so -fs/2  to fs/2
y = fftshift(x);
plot mag
plot(abs(y))


see link for help
fft Help