登录论坛

查看完整版本 : 如何在Matlab中找到int(x(t),t,0,t)的laplace?


poster
2019-12-14, 20:13
是否有可能找到x(t)的积分的laplace,并且该积分的边界在0和t之间?

>> laplace(int(x(t),t,0,t)) ??? Undefined function or variable 't'. 我应该得到这样的答案:

X(s)/s

回答:

使用MATLAB的符号工具箱时,应使用sym函数将变量设置为符号对象,如下所示: t=sym('t');

例:

t=sym('t'); laplace(int(exp(t),0,t)); 输出: 1/(s - 1) - 1/s



更多&回答... (https://stackoverflow.com/questions/5284457)