Skip to main content
1-Visitor
September 29, 2015
Question

Operations on Nested Matrix

  • September 29, 2015
  • 1 reply
  • 5099 views

I created a set of equations that calculates the positions of the two masses with a couple of springs: one to the ground and another between them.  The result looks reasonable as it shows below:

Now I am actually performing a tolerance analysis and there are 18 different conditions in a 9x2 matrix.  I vectorized all statements and got as far as it shows below:

Rightfully so, each element in the vector has 9x2 matrix nested.  How do I access a particular vector corresponding to a condition?  For example, how do I plot one vector or all vectors?

1 reply

24-Ruby IV
September 29, 2015

MMM.png

EricHong1-VisitorAuthor
1-Visitor
September 29, 2015

Thank you for your response.  I am still having hard time to apply what you taught me to my problem.

For example, I want to use the first condition [0,0 in the 9x2 matrix.

I need to get the [0,0 element from the 9x2 matrix at each 0.001 sec time increment or at every index of the resulting vector.  It almost then sounds like I need to do a looping on it.

Is that right?

24-Ruby IV
September 29, 2015

Send pls the sheet