why this calculations didnt show the graphics ?
2 views (last 30 days)
Show older comments
%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 Comments
KSSV
on 26 Feb 2020
There is no plot command used in your code. How you expect to get a plot?
Read about ezplot.
Answers (0)
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!