Skip to main content
1-Visitor
June 21, 2010
Solved

Matrix to vector (M2V)

  • June 21, 2010
  • 2 replies
  • 18268 views

Could someone help me to with drafting a simple short function that would be able to transform a large matrix into a vector - say M2V function.

I need one M2V function for transforming matrix rows (row by row) into a vector and other M2V for transforming matrix columns (column by column) into a vector.

I am new to Mathcad programming. At the moment my function gives me only the last row (or column). I belive that this is not a difficult task for a seasoned Mathcad user, Many thanks for your support mates.

Cheers

Best answer by RichardJ

Here. You only need one function. Just transpose the matrix if you want rows instead of columns.

2 replies

RichardJ19-TanzaniteAnswer
19-Tanzanite
June 21, 2010

Here. You only need one function. Just transpose the matrix if you want rows instead of columns.

I.Vos1-VisitorAuthor
1-Visitor
June 22, 2010

Richard

Many thanks for your help! That's exactly what I need.

Could you drop me a line or two please (if yopu can) on how I could format the text (say reduce font size or change the font) of the title and axis labels in the 2D graphs. It appears that Mathcad's Help is not really helpful on the matter.

Have a good day.

Regards

I.

19-Tanzanite
June 22, 2010

Could you drop me a line or two please (if yopu can) on how I could format the text (say reduce font size or change the font) of the title and axis labels in the 2D graphs. It appears that Mathcad's Help is not really helpful on the matter.

I'm afraid Mathcad's help has nothing to say on the matter because there's no way to do that. Mathcad's graphs are rather lacking in some respects

1-Visitor
June 28, 2010

Click on the image.

jmG