Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Swap Matrix Rows and Columns

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-12-2011
12:33 AM

04-12-2011
12:33 AM

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

Labels:

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-12-2011
02:14 AM

04-12-2011
02:14 AM

Re: Swap Matrix Rows and Columns

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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-12-2011
05:00 PM

04-12-2011
05:00 PM

Re: Swap Matrix Rows and Columns

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

Top Tags