cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Extracting several matrices from program

MortezaA
1-Visitor

Extracting several matrices from program

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?

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

5 REPLIES 5
Werner_E
25-Diamond I
(To:MortezaA)

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.

Werner_E
25-Diamond I
(To:MortezaA)

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.

Announcements

Top Tags