How to code for summation?
Mostrar comentarios más antiguos
Hi all,
Can anyone please tell me how can I do the coding to complete this sum?

Also, how can I write down the code that adds up one term after one term and plots them? For example,
x = -pi:0,01:pi;
plot(x,term1); hold on;
plot(x,term1+term2); hold on;
plot(x,term1+term2+term3); hold on;
until all 7 terms! Thank you so much fro your help!!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Performance and Memory en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
