inverce laplace and ploting data
3 views (last 30 days)
Show older comments
s = zpk('s')
Gs=(9)/(s^2+9*s+9);
pole(Gs)
zero(Gs)
Ct=ilaplace(Gs)
figure
plot(Ct)
2 Comments
Answers (1)
Star Strider
on 16 May 2020
I believe that what you actually want is:
s = zpk('s')
Gs=(9)/(s^2+9*s+9);
pole(Gs)
zero(Gs)
% Ct=ilaplace(Gs)
figure
step(Gs)
since under other circumstances (specifically using the Symbolic Math Toolbox), plotting ilaplace of a symbolic transfer function (using fplot) would return the impulse response. To plot a symbolic step response, you would divide ‘Gs’ by ‘s’, then use fplot.
0 Comments
See Also
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!