Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Coding a simple model with torsion spring

Asked by Tae Yeong Kim on 7 Apr 2013

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?

0 Comments

Tae Yeong Kim

Products

No products are associated with this question.

0 Answers

Contact us