Help me to solve a problem please.

i need to solve f(x)=e^(-x), intervals [-π<x<π] using fourier series. And need to graph it. would really appreciate the help. thanks.

回答 (1 件)

Chandrasekhar
Chandrasekhar 2014 年 5 月 21 日

0 投票

cnt = 1;
for i = -pi:pi
x(cnt) = i;
f(cnt) = exp(-i);
cnt = cnt+1;
end
plot(x,f)
xlabel('pi values')
ylabel('f(x)')
grid on

この質問は閉じられています。

質問済み:

2014 年 5 月 21 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by