syms s ;
t = 0:0.1:1
ys =((35+4*s)/(s^2+5*s))
yspf = partfrac (ys)
yt= ilaplace (yspf)
plot(t,yt)

 Réponse acceptée

KSSV
KSSV le 27 Sep 2017

0 votes

syms s ;
t = 0:0.1:1 ;
ys =((35+4*s)/(s^2+5*s)) ;
yspf = partfrac (ys) ;
yt= ilaplace (yspf) ;
y = double(subs(yt,t)) ;
plot(t,y)
YOu have to substitute t in yt and then convert it to double to plot.

1 commentaire

MINATI
MINATI le 18 Déc 2018
Can it be possible to draw solution of coupled PDEs with two independent variable x,t
Pl. reply me on minatipatra456@gmail.com

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by