フィルターのクリア

how to determine the coefficient of Fourier series in matlab code?

1 回表示 (過去 30 日間)
Muhammad Rohim
Muhammad Rohim 2020 年 4 月 22 日
回答済み: David Hill 2020 年 4 月 22 日
I have a trigonometric series as above, but I can't figure out how to determine the value of the series coefficients in the matlab code. please help me, thanks.
this is the equation above in the matlab code that I used:
for n = 1:100
term = sin(2*n)/(n^2);
disp([term]')
end

回答 (1 件)

David Hill
David Hill 2020 年 4 月 22 日
n=1:1000;
term=sin(2*n)./(n.^2);

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品


リリース

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by