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

Adding units to a matrix

Highlighted
Moonstone

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
Highlighted

Re: Adding units to a matrix

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.  

Highlighted

Re: Adding units to a matrix

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

Highlighted

Re: Adding units to a matrix

May be it is one solution

psiMat.png

Announcements