# Matlab system of equations help

Page 1 of 1

## 0 Replies - 4123 Views - Last Post: 14 August 2012 - 12:39 PMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=288871&amp;s=916bc9922205e43f892a9aa1762be949&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 reventropy2003

Reputation: 0
• 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

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }