필터 지우기
필터 지우기

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 CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by