Get Help

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
- :
- Adding Matrices & Getting Units Errors

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

Showing results for

Highlighted

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

06-20-2011
06:03 PM

06-20-2011
06:03 PM

Hi All,

I am trying to add two matrices which have the same units (m^3), but am getting an error. One is a (5x1) and the other a (5x4). I would like to add the column of numbers in the first to each of the columns in the second. Any help would be much appreciated - file attached (page 8)

Thanks

Mark

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

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

06-20-2011
10:53 PM

5 REPLIES 5

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

06-20-2011
10:53 PM

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

06-21-2011
12:03 AM

06-21-2011
12:03 AM

Re: Adding Matrices & Getting Units Errors

Mark,

I would delete the units from the inside of the matrix then multiple the matrix by the units. A matrix does not do well with mixed units.

Best of luck

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

06-21-2011
05:35 AM

06-21-2011
05:35 AM

Re: Adding Matrices & Getting Units Errors

The units are not an issue as they are the same. Unfortunatly I do not have access to Prime at the moment, but have Mathcad 15. See if the attached is what your after.

Mike

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

06-21-2011
05:53 AM

06-21-2011
05:53 AM

Re: Adding Matrices & Getting Units Errors

1..Take Wayne's advice with the units! - see attached.

2. You don't always need to use subscripts for every matrix operation - see attached.

3. I suggest you provide different names for each version of your worksheet (at least by adding a, b, c etc or 1, 2, 3 etc.)

Alan

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

06-21-2011
10:02 AM

06-21-2011
10:02 AM

Re: Adding Matrices & Getting Units Errors

2. You don't always need to use subscripts for every matrix operation - see attached.

Alan suggestion above is correct and his example, as mine is worth taking a look at. Using subscripts for every matrix operation is aesthetically unpleasing and hard to follow.

Using alan examples of creating a 1 row, 4 column matrix, see attahced for a little more elegance (in my opinion).

Mike

Top Tags