How can I compute fourier coefficient?

1 次查看(过去 30 天)
Hi I have a pulse and I want to compute the first 20 fourier coefficient of it. Would anyone help me to do this?

采纳的回答

Image Analyst
Image Analyst 2017-3-10
f = fft(yourSignal);
f20 = f(1:20); % Extract first 20 coefficients.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by