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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Incongruence in matrix units

francesco_17
3-Newcomer

Incongruence in matrix units

Good morning

 

Can anybody explain me this (see screenshot)?
After the "=" in the matrix I see what are the right units (which are no units for the last 2 elements).

But when I try to use them later, it looks as if the last 2 elements are in m.

 

I attached also the mathcad file. I use Mathcad prime 3.1

 

Thanks

ACCEPTED SOLUTION

Accepted Solutions

Thats where zero and Zero come to play:

Bild1.png

Its explained in more detail in the Prime Migration Guide (see attached)

 

View solution in original post

2 REPLIES 2
LucMeekes
23-Emerald III
(To:francesco_17)

That's because Mathcad (and apparently Prime too), will append units to a value of 0 whenever it is convenient (to the discretion of internal algorithms).

You can check equality between 2 m and 0 m, as well as between 2 m and 0, and they both result in False (not True). but an equality check between 2m and 3 throws an error.

UnitComparison.png

I guess something similar is going on here.

 

Success!
Luc

Thats where zero and Zero come to play:

Bild1.png

Its explained in more detail in the Prime Migration Guide (see attached)

 

Announcements

Top Tags