フィルターのクリア

Inverse Laplace transform of a 4 by 4 matrix

6 ビュー (過去 30 日間)
Sunday Aloke
Sunday Aloke 2023 年 11 月 22 日
コメント済み: Walter Roberson 2023 年 11 月 23 日
Please house, I need help to output the inverse Laplace transform of the 4 by 4 matrix attached below. I will be grateful for your assistance. Thanks

採用された回答

Sam Chak
Sam Chak 2023 年 11 月 22 日
Since this is a linear dynamic system described in state-space, the output can be found using the dsolve() command.
syms w(t) x(t) y(t) z(t)
%% State equations
eqns = [diff(w,t) == - 0.00022074*w + 0*x - 0.321386*y + 0.0000004924*z,
diff(x,t) == 0.00012074*w - 0.187744*x + 0.321385*y + 0*z,
diff(y,t) == 0*w + 0.187644*x - 0.321215*y + 0*z,
diff(z,t) == 0*w + 0*x + 0.318725*y - 0.0001005*z];
%% General solution (if initial condition is unknown)
Gsol = dsolve(eqns, 'MaxDegree', 4)
Gsol = struct with fields:
x: C1*(exp(-(t*(880740210851004153290091*((3^(1/2)*43740438401693126157487504478370365822531694805937937204624469331174935258419763369366273851571079352664988310139012389846237400821611425481… w: C1*(exp(-(t*(880740210851004153290091*((3^(1/2)*43740438401693126157487504478370365822531694805937937204624469331174935258419763369366273851571079352664988310139012389846237400821611425481… y: C1*(exp(-(t*(880740210851004153290091*((3^(1/2)*43740438401693126157487504478370365822531694805937937204624469331174935258419763369366273851571079352664988310139012389846237400821611425481… z: C3*exp(-(t*(880740210851004153290091*((3^(1/2)*437404384016931261574875044783703658225316948059379372046244693311749352584197633693662738515710793526649883101390123898462374008216114254819…
%% Particular solution (if initial condition is known)
cond = [w(0) == 1,
x(0) == 0,
y(0) == 0,
z(0) == 0];
Psol = dsolve(eqns, cond, 'MaxDegree', 4)
Psol = struct with fields:
x: (2245501681194912713180821901898316369833105182787823237505398159820541372242590057761026213554694888135433837660368384056135068619771591528250850247291290758676480000000000000000000000000… w: (2245501681194912713180821901898316369833105182787823237505398159820541372242590057761026213554694888135433837660368384056135068619771591528250850247291290758676480000000000000000000000000… y: (18429039118821823205910363600473469*(exp(-(t*(880740210851004153290091*((3^(1/2)*4374043840169312615748750447837036582253169480593793720462446933117493525841976336936627385157107935266498… z: (2245501681194912713180821901898316369833105182787823237505398159820541372242590057761026213554694888135433837660368384056135068619771591528250850247291290758676480000000000000000000000000…
  17 件のコメント
Sam Chak
Sam Chak 2023 年 11 月 23 日
編集済み: Sam Chak 2023 年 11 月 23 日
Hmm... This is strange. It looks complete on my machine. That's why I requested you to post exactly the same code and then hit the Run button . Let me check if I can the display completely from your side.
Walter Roberson
Walter Roberson 2023 年 11 月 23 日
You might need to use the scroll-bars under the output expressions.

サインインしてコメントする。

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 11 月 22 日
inverse laplace of a constant is dirac delta times the constant, so just multiply the matrix by dirac delta function.
Note that if your A is the A of a state space representation then you would have a completely different answer, and would need the other state space matrices as well
  2 件のコメント
Walter Roberson
Walter Roberson 2023 年 11 月 22 日
https://lpsa.swarthmore.edu/Representations/SysRepTransformations/TF2SS.html
talks about converting state space to transfer function. You would then take the inverse laplace of the transfer function.
Sunday Aloke
Sunday Aloke 2023 年 11 月 22 日
Yes, it's a state space matrix Please I am totally ignorant of the code to use. Sample of code will really help

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品


リリース

R2007b

Community Treasure Hunt

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

Start Hunting!

Translated by