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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Adding units to a matrix

DJF
16-Pearl
16-Pearl

Adding units to a matrix

I'm not sure what's going on here.  I'm reading in a file and trying to get Mathcad 4.0 to add units to a column.  But it's not working as planned.  Tried a few different variations but always get the same issue.  What am I doing wrong?

 

2018-12-26_12-28-09.jpg

3 REPLIES 3
DJF
16-Pearl
16-Pearl
(To:DJF)

hmm.  I guess using READPRN gets it to work.  But it seems to have no problem using the values read in through READTXT for anything else (e.g. math operations work fine), so I'm not clear on how or if it sees them as a different variable type.  

Werner_E
24-Ruby V
(To:DJF)

Strange effects when you use READTEXT.

Obviously the unit is assigned, but  the returned value looses the unit and the value in SI is displayed regardless of the chosen unit system.

I consider it a severe bug in Prime!

A workaround is shown in the picture:

B1.png

A shorter version is

B2.png

ValeryOchkov
24-Ruby IV
(To:DJF)

May be it is one solution

psiMat.png

Top Tags