Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Help me to solve a problem please.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i need to solve f(x)=e^(-x), intervals [-π<x<π] using fourier series. And need to graph it. would really appreciate the help. thanks.
0 commentaires
Réponses (1)
Chandrasekhar
le 21 Mai 2014
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
0 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!