I've got a matrix with i rows and j columns. I'd like to add all i scalars in column 0 as the 0th element in a new j-element vector, and add all i scalars in column 1 as the 1th element etc..
How? The column operator seems to require an integer, not a range variable to select the column.
Solved! Go to Solution.
I wrote that into my MathCAD 14, but it doesn't work, attached. The column operator is flagged as an error, "this value must be an integer."
Any ideas? Is it time for me to upgrade my version?
Here is an approach without any ranges:
> Any ideas? Is it time for me to upgrade my version?
No, Luc is using good old Mathcad 11. I just opened his file and it works OK in Mathcad 15, so it should do so as well in MC14. You just have to manually recalculate the sheet because Luc turns off autocalc by default, but you should not get any error message.
Did you used Lucs attached file or did you retype what he did?
I tried Luc's file directly, no joy, although autocalc was on. Nothing worked, even the simple range variables were not defined. I then typed it in, now everything works except the final summation. Something wrong with the column operator not accepting a vector in MC14? Your programmed solution does work (:<))
Thanks for your help...