Skip to main content
1-Visitor
July 15, 2014
Solved

Summation using with multiple matrices variables

  • July 15, 2014
  • 10 replies
  • 3114 views

In the attached worksheet I have a summation that works with one matrix variable but when I add another matrix variable it doesnt work. Do I need to use something instead of the list command? Thanks

Best answer by Werner_E

OK, so I guessed correct.

Find attached three different ways to achieve what you want. I would prefer the first, functional approach as dealing with range varaibles as in the third way provided is much less versatile.

10 replies

Werner_E
25-Diamond I
July 15, 2014

Obviously you can't use a vector as end value for a range variable!

What result do you expect - a 3x3 matrix where each column represents the result for one value in N.b?

Doesn't make much sense with vectors consisting all of the same value.

And if your vector N.b would consist of different elelemnts, your set of results would be vectors of different lenghts. How would you like Mathcad to present those results? Obviously it can't be a matrix anymore but rather a vector consisting of those vectors.

Heavenly1-VisitorAuthor
1-Visitor
July 15, 2014

The same values are placeholders that will become different values. I expect a 3x1 matrix as in the first set of calculations that will change if Nb or sb change.

Heavenly1-VisitorAuthor
1-Visitor
July 15, 2014

Sorry I didnt see the end of yor response about not having a matrix. I somehow need to end up with a 3x1 matrix to use in subsequent calculations, is that possible?