How do I graph a summation over an interval?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1132370/image.png)
I have to plot this on the interval x E [-1,1] and x E [-0.1,0.1] for N=10. Can anyone help? I've tried symsum, but it doesn't work.
1 Kommentar
Akzeptierte Antwort
Matt J
am 21 Sep. 2022
n=(0:10).';
fcn=@(x)sum( (2/3).^n .* cos(9.^n.*(pi.*x)) );
fplot(fcn,[-1,1]/10)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!