MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]传递函数的拉氏反变换问题 (https://www.labfans.com/bbs/showthread.php?t=3715)

nospecial 2008-06-24 22:37

[求助]传递函数的拉氏反变换问题
 
syms s;
y=ilaplace(0.35/((s+0.5)*(s+0.7)));
得到的y是关于t的函数,现在我想要得到t=0到5的函数值,怎么办啊?
我是这样运行的:
syms s;
y=ilaplace(0.35/((s+0.5)*(s+0.7)));t=0;y

[COLOR="Red"]y =

7/2*exp(-3/5*t)*sinh(1/10*t)[/COLOR]
答案还是关于t的啊!!!
急!!!

watcher 2008-06-24 23:41

eval(...)函数将代入的字符串作为表达式运行,所以LZ的问题只要将最后一句y改成eval(y)即可

nospecial 2008-06-25 11:29

感谢
 
多谢了,终于搞定了!!!:biggrin:


所有时间均为北京时间。现在的时间是 03:23

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.