Coding a simple model with torsion spring

6 次查看(过去 30 天)
I am trying to code a very simplistic box on the torsion spring with Matlab so that I can apply a force and see the reaction of the simple box on the torsion spring.
I tried using ODE 45 to code a torsion spring, putting theta as x(1), and dx(1) as x(2).
Also, I know that I have to put
sigma M = I * delta sigma M = Moment on spring + Moment of the force + Moment of mass*gravity
Is there a way to code this?

回答(1 个)

Steve Miller
Steve Miller 2023-1-9

类别

Help CenterFile Exchange 中查找有关 Mechanical Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by