Skip to main content
1-Visitor
Jul 15, 2014 2:19 PM UTC
Solved

Summation using with multiple matrices variables

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

Werner_E
Werner_EAnswer
25-Diamond I
Jul 15, 2014 4:54 PM UTC

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
Jul 15, 2014 3:04 PM UTC

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.

Translate
Heavenly1-VisitorAuthor
1-Visitor
Jul 15, 2014 3:10 PM UTC

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.

Translate
Heavenly1-VisitorAuthor
1-Visitor
Jul 15, 2014 3:13 PM UTC

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?

Translate