Borrar filtros
Borrar filtros

How to plot trapezoids under a curve?

1 visualización (últimos 30 días)
Erwin Avendaño
Erwin Avendaño el 9 de Nov. de 2017
Comentada: Erwin Avendaño el 9 de Nov. de 2017
please do not use any symbolic math toolbox since I will do this in an executable later
  1 comentario
Erwin Avendaño
Erwin Avendaño el 9 de Nov. de 2017
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)

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by