Laplace Transform of f(t)=Cos[5t-45^°]

13 次查看(过去 30 天)
%% Problem P2_(Quiz1)
display('Problem P2_(Quiz1)')
syms S D f t;
D = rad2deg(-pi/4);
f = cos(5*t+D);
S = laplace(f)
  2 个评论
BOB MATHEW SYJI
BOB MATHEW SYJI 2020-9-15
Can you please elaborate the question
Walter Roberson
Walter Roberson 2020-9-15
Are you sure you want D to be in degrees? cos() expects radians.

请先登录,再进行评论。

采纳的回答

Ameer Hamza
Ameer Hamza 2020-9-15
编辑:Ameer Hamza 2020-9-15
Making a code complex just for the sake of it is a pointless question, especially for this forum. However, the following code shows an alternate method to calculate Laplace transform using its definition
syms s t;
assume(real(s) > 0);
D = rad2deg(-pi/4);
f = cos(5*t+D);
S = int(f*exp(-s*t), t, 0, inf)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numbers and Precision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by