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 个评论
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 Center 和 File Exchange 中查找有关 Calculus 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!