0 Replies - 2330 Views - Last Post: 14 August 2012 - 12:39 PM Rate Topic: -----

#1 reventropy2003  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 14-August 12

Matlab system of equations help

Posted 14 August 2012 - 12:39 PM

I am trying to simulate a system of springs according to the example given here: http://en.wikipedia..../Spring_system. In terms of the example I'm following, after some math, you have three equations and three unknowns. You replace one of the unknowns with an initial value (step 6?). What would be a good way to solve for the other two unknowns (x2 and x3) using Matlab? If it were just 3 eqs./three unk., I could do it by multiplying by the inverse etc. I can work it out on paper, but it needs to be expandable to hundreds of eqs, and to multiple dimensions so I require a relatively straight forward method. Currently, I am using matrices to represent the system but I suppose I could revert to equations and use symbolic math? I feel like this should be easy but I'm coming up dry. Enormous thanks to anyone that might be able to help.

Thanks, Jeremy

Is This A Good Question/Topic? 0
  • +

Page 1 of 1