ploting reversed laplace function

Why is it not working?, please help syms s; y =(4.36/(s*(s^2+1.61*s+0.935+4.36))); ilaplace(y) t = 0:0.001:8; plot(t,y, '-r' )

댓글 수: 3

eliman
eliman 2011년 4월 23일
syms s;
y =(4.36/(s*(s^2+1.61*s+0.935+4.36)));
ilaplace(y)
t = 0:0.001:8;
plot(t,y, '-r' )
Andrew Newell
Andrew Newell 2011년 4월 23일
Thanks for formatting the code. It would be better, though, to edit your original question.
Andrew Newell
Andrew Newell 2011년 4월 23일
In your question you should also say how it is not working. In this case, you are getting an error message:
??? Error using ==> plot
Conversion to double from sym is not possible.

댓글을 달려면 로그인하십시오.

답변 (1개)

Andrew Newell
Andrew Newell 2011년 4월 23일

0 개 추천

The Symbolic Toolbox does not substitute numeric values of t into the expression unless you ask it to. You could do this:
plot(t,subs(y,t),'-r')

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2011년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by