作业帮 > 综合 > 作业

matlab定积分求解问题

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/14 01:31:51
matlab定积分求解问题
syms w t s;
d=int(sin(w*t)*exp(-s*t),t,0,inf)
limit(-(sin(w*t)*s*exp(-s*t)+cos(w*t)*w*exp(-s*t)-w)/(s^2+w^2),t = Inf)
我这个是拉普拉斯sin(wt)的变换,但是为什么没有得到w/(s^2+w^2)?
拉普拉斯变换专门有函数
>> syms w t s
>> f=sin(w*t)*exp(-s*t);
>> laplace(f)
ans =
w/(4*s^2 + w^2)