How to plot trapezoids under a curve?

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Calculus 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by