Skip to main content
1-Visitor
October 21, 2016
Solved

Exporting multiple variables from for loop

  • October 21, 2016
  • 1 reply
  • 1209 views

Hello,

I am currently working on a project in Mathcad. With some help of Google I was able to make everything work.

Except one thing... I would like to output multiple variables from a for loop. Or I would just like to access them AFTER the for loop.

Something that I've been trying is this:

multiple-variables.PNG

The output of the for-loop is X. Now when I show X, it shows a matrix with 3 elements. But I am not able to retrieve the contents of the matrix.

If I try to retrieve the first column it returns ({789,38}), but I would like to get the matrix I inserted back.

Thanks in advance!

Best answer by -MFra-

nested array.jpg

1 reply

-MFra-21-Topaz IIAnswer
21-Topaz II
October 21, 2016

nested array.jpg

1-Visitor
October 21, 2016

Thanks this was exactly what I was looking for!