Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I wrote a program in the mathcad for the first time , the program creates a few matrixes and vectors . which are unfortunately not equal in size , therefore can't be augmented .
is there any way i can extract them all out in seperate matrixes from the program?
Solved! Go to Solution.
Morteza Adinehnia wrote:
Thank you for your answer
I'm hoping to be able to extract Nnucl , r, time, C, sat, Mconsumed and Mstart all at the same time.
You can have a matrix of matrices, not all the same size.
Yes, but you would have to attach your worksheet and specify moredetailed what you want to achiev.
You might want to lookup the command "submatrix()" in the help.
Thank you for your answer
I'm hoping to be able to extract Nnucl , r, time, C, sat, Mconsumed and Mstart all at the same time.
Look if the attached would help. The program now returns a nested vector consisting of all the variables you demanded. I assigned it a vector with appropriate variables as this seems more natural for me, but you may still assign it a single variable U and can then extract the single components using the vector index, e.g. r:=U[1, etc.
Thank you
It was exactly what I needed.
Morteza Adinehnia wrote:
Thank you for your answer
I'm hoping to be able to extract Nnucl , r, time, C, sat, Mconsumed and Mstart all at the same time.
You can have a matrix of matrices, not all the same size.