フィルターのクリア

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

13 ビュー (過去 30 日間)
Salik Mallick
Salik Mallick 2020 年 9 月 15 日
編集済み: David 2020 年 9 月 15 日
%% 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 Center および File ExchangeNumbers and Precision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by