Skip to main content
1-Visitor
April 12, 2011
Question

Swap Matrix Rows and Columns

  • April 12, 2011
  • 2 replies
  • 4263 views

I have a 42 x 42 matrix, and I need to swap some rows and columns. Does anyone know how to do this? I know you can do it fairly easily in Matlab, but I haven't successfully found that feature in Mathcad.

Thanks, and any help is appreciated.

Talina

2 replies

atbarajas1-VisitorAuthor
1-Visitor
April 12, 2011

Nevermind. I found out that I could use the "augment" function to switch the rows, and then I took the transpose of my matrix, and used "stack" function.

1-Visitor
April 12, 2011

Why don't you post an example of the problem. This way you are much more likely to get a response.

It also clears the problem up.

Mike