![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/501183/image.png)
Solving differential equations with Simulink
2 ビュー (過去 30 日間)
古いコメントを表示
Can someone explain what differential equation is being solved below? The input is a ramp input.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/500998/image.png)
0 件のコメント
採用された回答
Birdman
2021 年 1 月 27 日
If you consider the ramp imput as a function
r(t)=t;
then the equation becomes
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/501183/image.png)
If you code this in MATLAB:
syms x(t)
eq=t-4*x==diff(x,2);
X(t)=dsolve(eq);%without giving initial conditions
and you will obtain
X(t) =
t/4+C1*cos(2*t)-C2*sin(2*t)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!