introduction to matlab code

回答(2 个)

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);
Tunde
Tunde 2013-4-16

0 个投票

I want to plot the actual function on the graph as well.

类别

帮助中心File Exchange 中查找有关 Smoothing 的更多信息

标签

尚未输入任何标签。

提问:

2013-4-16

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by