how can i solve this differential equation through MATLAB?

1 回表示 (過去 30 日間)
Jeongwoo Park
Jeongwoo Park 2018 年 6 月 7 日
回答済み: Torsten 2018 年 6 月 7 日
through non-classical damping system's modal summation analysis, i get
Zi'(t) - Di*Zi(t) = (Si)T * F0 * r(t)
Zi'(t) is first differential of function Zi(t), (Si)T is transpose matrix of Si n=7, i=1,2,....,2n Zi(t) is the function i want to get, Di is 14x14 diagonal matrix, Si is 14x14 matrix , F0 is 14x1 matrix and r(t) is a known function Di and Si are complex matrixes. In this case, how can i get Zi(t) through MATLAB? Let me know if you need more informations. Sorry for my poor english, Thank you.

回答 (2 件)

Varun Garg
Varun Garg 2018 年 6 月 7 日
Hi. I am not clear if you are stuck with this differential equation or you don't have much idea as to how to work with differential equations in MATLAB.
General workflow to work with differential equations in MATLAB is as follows:
Defining variables
syms a y(t)
Declaring your function
eqn = diff(y,t) == a*y;
Applying dsolve on your equation
dsolve(eqn)
Documentation for differential equations can be found here .
Documentation for dsolve can be found here .
In case you still have confusion with how to work with matrices in your problem, this documentation should do the trick.

Torsten
Torsten 2018 年 6 月 7 日
Use one of the integrators from MATLAB's ODE suite, e.g. ODE45.
Best wishes
Torsten.

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by