Community login and other support tools will be unavailable Saturday May 3rd 9:00 am to 3:00 pm (EST) due to planned maintenance. Learn More

Translate the entire conversation x

Swap Matrix Rows and Columns

atbarajas
1-Visitor

Swap Matrix Rows and Columns

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 2

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.

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

Announcements

Top Tags