Skip to main content
16-Pearl
December 26, 2018
Question

Adding units to a matrix

  • December 26, 2018
  • 2 replies
  • 3305 views

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

2 replies

DJF16-PearlAuthor
16-Pearl
December 26, 2018

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.  

25-Diamond I
December 27, 2018

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

24-Ruby IV
December 26, 2018

May be it is one solution

psiMat.png