cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

To change units in Matrix Column

RWickrama
10-Marble

To change units in Matrix Column

In my HVAC load calculation, I have the units in the matrix column in Watts.
But, I  need units to be Btu/hr.
I tried various options without success. I request help.
Pl. see below.
Also attached Mathcad file.

2025-12-31 11_28_05-PTC Mathcad Prime 11.0.0.0 - E__0000CPD MCAD CALC_100MCAD-D001 HVAC for PTC.mcdx.jpg

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:RWickrama)

The sad news is: Prime still can't do that!

 

You can only change the unit for all values in a matrix by using the placeholder after the matrix.

Werner_E_0-1767211649759.png

But this looks most often silly in case the matrix contains quantities of different dimensions

Werner_E_4-1767212339523.png

and it would fail if the matrix contains strings as in your case, because you can't apply units to a string.

Inside of a matrix Prime always will only show the standard unit, depending on the unit system you select and whether you check "Base Units" or not.

 

So the best you can achieve is to strip the unit (divide by the desires unit) and add a header indicating the unit. That's not really satisfactory, of course, especially when we consider that this is software that is (rightly) proud of its ability to handle units natively..

Werner_E_1-1767211823197.png

Werner_E_2-1767211832924.png

 

View solution in original post

3 REPLIES 3
Werner_E
25-Diamond I
(To:RWickrama)

The sad news is: Prime still can't do that!

 

You can only change the unit for all values in a matrix by using the placeholder after the matrix.

Werner_E_0-1767211649759.png

But this looks most often silly in case the matrix contains quantities of different dimensions

Werner_E_4-1767212339523.png

and it would fail if the matrix contains strings as in your case, because you can't apply units to a string.

Inside of a matrix Prime always will only show the standard unit, depending on the unit system you select and whether you check "Base Units" or not.

 

So the best you can achieve is to strip the unit (divide by the desires unit) and add a header indicating the unit. That's not really satisfactory, of course, especially when we consider that this is software that is (rightly) proud of its ability to handle units natively..

Werner_E_1-1767211823197.png

Werner_E_2-1767211832924.png

 

Hi,

It can be done like this:

Capture.JPG

Cheers

Terry

Thanks. I like it.

 

Announcements

Top Tags