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

Regular Member

## Mixed units in matrices

I am trying to set up the equations for the solution of a matrix displacement problem in structural analysis, i.e., F=KU, where F = force matrix {4X1}, K=stiffness matrix {4X4}, and U=displacement matrix {4X1}.  However, Mathcad will not accept the definition of these matrices with mixed units.  Do I have to define these matrices as unitless and track the results by hand?

Tags (1)
9 REPLIES 9

## Re: Mixed units in matrices

Mathcad 15 does not permit mixed units in matrices. Mathcad Prime does (it's one of the few things where Prime is better).

## Re: Mixed units in matrices

 Richard Jackson wrote: Mathcad Prime does (it's one of the few things where Prime is better).

## Re: Mixed units in matrices

Thats a drawback in older Mathcad versions and one of the very few benefits of Prime.

in Prime you can have different dimensions in a matrix, but in MC15 and below you unfortunately can't.

WE

## Re: Mixed units in matrices

Am I right in thinking that an older version of Mathcad accepted mixed unit arrays?

Mike

## Re: Mixed units in matrices

No, it's not been possible in any version prior to Prime.

## Re: Mixed units in matrices

Maybe the constant feature requests over the years clouded my thoughts.

## Re: Mixed units in matrices

Maybe 15-20 years from now we will be having the same discussion about multi-dimension arrays (with or without mixed units)

## Re: Mixed units in matrices

I agree with Richard & Werner.  However, it might still be possible to achieve your overall goal without switching to Prime or omitting units.  Would you be able to achieve what you want by simply splitting your calculations into two portions: one for load/displacement, and the other for moment/rotation?

Finally, I would encourage you to include your units in the definition of the variables rather than in the equations.  For example:

Use:

Y1 := 1*kip

F12 := Y1...

Y1 := 1

F12 := Y1*kip...

## Re: Mixed units in matrices

But only in Mathcad PM (Prime Minister)

we can do so - change units of separate elements in outputted array:

Announcements
Check out the latest