How do I graph a summation over an interval?
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Matt J
2022-9-21
n=(0:10).';
fcn=@(x)sum( (2/3).^n .* cos(9.^n.*(pi.*x)) );
fplot(fcn,[-1,1]/10)
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!