introduction to matlab code

4 ビュー (過去 30 日間)
Tunde
Tunde 2013 年 4 月 16 日
byyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

回答 (2 件)

Matt J
Matt J 2013 年 4 月 16 日
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 日
I want to plot the actual function on the graph as well.
  1 件のコメント
Matt J
Matt J 2013 年 4 月 16 日
The green curve is the actual function.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSmoothing についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by