フィルターのクリア

ideal mass spring dampening system with an impulse

3 ビュー (過去 30 日間)
Rudy
Rudy 2011 年 4 月 18 日
Hi, first time poster, and I need help on how to do an impulse on matlab. I have an ideal mass spring damper system in which an impulse is applied, where distance is measured. I got to the ODE md^2x/t +Bdt/dx +kx= impulse, and have already simulated this on simulink. My question is how do i simulate an impulse on matlab in my situation, and then using ode45 to get x. I already now how to solve 2nd order ODE's on matlab, i just have no idea on how to get impulse involved.

回答 (1 件)

Arnaud Miege
Arnaud Miege 2011 年 4 月 18 日
You can convert your ODE to an LTI system and use the impulse function from the control system toolbox:
msd = tf(1,[m b k]);
impulse(msd);
HTH,
Arnaud

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by