why this calculations didnt show the graphics ?

1 次查看(过去 30 天)
%program P2_2
%Persamaan differensial
clear;
clf;
eps=-0.00000001;
syms x(t) ys(t) y(t) u(t);
x(t)=heaviside(1)*exp(-2*t);
dys=diff(ys);
y(t)=dsolve(ys+3*dys+2*diff(ys,2)==x,ys(eps)==0,dys(eps)==0);
u(t)= y(t)+5*y(t);
pretty(u(t));
  2 个评论
Walter Roberson
Walter Roberson 2020-2-26
Because the code does not contain any graphics calls?
fplot(u)
KSSV
KSSV 2020-2-26
There is no plot command used in your code. How you expect to get a plot?
Read about ezplot.

请先登录,再进行评论。

回答(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