A2 = convert(A1,unit1,unit2)
converts a numeric array, A1, from unit1 to
unit2 by applying the appropriate scaling factor to the numeric
values. unit1 and unit2 must be
commensurate.
A2 = convert(A1,unit1,unit2,conversiontype)
lets you select whether to apply affine or linear conversion to thermal units. Affine
conversion is the default.
Array of numeric values, specified as a scalar, vector, or matrix. The array cannot
contain complex values and cannot be sparse.
Example: [1.5 2]
Data Types: double | single
Physical unit expression, specified as a scalar simscape.Unit
object.
Example: m
Physical unit expression, specified as a scalar simscape.Unit
object. unit1 and unit2 must be
commensurate.
Example: mm
Thermal units often require an affine conversion, that is, a conversion that
performs both multiplication and addition. For more information, see About Affine Units.
Specify the type of conversion:
'affine' — Perform unit conversion that uses both
multiplication and addition.
'linear' — Perform unit conversion by applying just the
linear term.
Array of numeric values, returned as a scalar, vector, or matrix in the same data
type as the input array A1, with numeric values scaled according to
the conversion factor between the two units, unit1 and
unit2.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.