Clear Filters
Clear Filters

How can I compute fourier coefficient?

2 views (last 30 days)
Hi I have a pulse and I want to compute the first 20 fourier coefficient of it. Would anyone help me to do this?

Accepted Answer

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

More Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!