introduction to matlab code
Show older comments
byyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Answers (2)
Matt J
on 16 Apr 2013
You're only plotting 11 points, so it probably is as smooth as it can get. Plot with more points to see a smoother curve.
BTW, this is a better way to build m,
m = linspace(0,2,n);
Categories
Find more on Smoothing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!