How to plot trapezoids under a curve?

1 回表示 (過去 30 日間)
Erwin Avendaño
Erwin Avendaño 2017 年 11 月 9 日
コメント済み: Erwin Avendaño 2017 年 11 月 9 日
please do not use any symbolic math toolbox since I will do this in an executable later
  1 件のコメント
Erwin Avendaño
Erwin Avendaño 2017 年 11 月 9 日
a=str2double(get(handles.edit7,'string'));
b=str2double(get(handles.edit6,'string'));
xx=a:0.01:b;
f=inline(get(handles.edit1,'string'));
y1=f(xx);
axes(handles.axes3);
plot(xx,y1,'r*','LineWidth',3)

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

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by