Borrar filtros
Borrar filtros

ideal mass spring dampening system with an impulse

3 visualizaciones (últimos 30 días)
Rudy
Rudy el 18 de Abr. de 2011
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.

Respuestas (1)

Arnaud Miege
Arnaud Miege el 18 de Abr. de 2011
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

Categorías

Más información sobre Assembly en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by