Convert an imat_shp to a different unit system.
s1=chgunits(s,from,to)
CHGUNITS converts an imat_shp to a different system of units. This affects the shape coefficients (Shape attribute), the modal mass (ModalMassReal and ModalMassImag attributes), and modal damping (ModalDampingReal and ModalDampingImag attributes).
The from argument is the unit system that s is expressed in currently. The to argument is the desired unit system (if to is omitted, the current unit system is assumed). The unit system arguments should either be unit strings (such as 'SI') or should be 5x1 vectors of unit conversion factors as returned by the getunits function.
If you follow the recommended practice of setting your units at the start of a session and maintaining consistency, you should not need to use this function.
>> s=chgunits(s,'mm','in'); % Change s from MM to IN