This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Units of Measurement

Use physical units, converting units, checking unit consistency and compatibility

Use and manipulate physical units of measurement. These units act as symbolic expressions and can be used with Symbolic Math Toolbox™ functions. You can verify unit dimensions, convert between units, and create your own custom units.

Functions

expand all

checkUnitsCheck for compatible dimensions and consistent units
findUnitsFind units in input
isUnitDetermine if input is a symbolic unit
mixedUnitsSplit unit into sum of units
newUnitDefine new unit
removeUnitRemove unit
rewriteRewrite expression in terms of another function
separateUnitsSeparate units from expression
simplifyAlgebraic simplification
str2symunitConvert character vector or string to unit
symunitUnits of measurement
symunit2strConvert unit to character vector
unitConversionFactorConversion factor between units
unitConvertConvert units to other units of measurement
unitInfoInformation on units of measurement
baseUnitsBase units of unit system
derivedUnitsDerived units of unit system
newUnitSystemDefine unit system
removeUnitSystemRemove unit system
unitSystemsList available unit systems

Topics

Units of Measurement Tutorial

Use, manipulate, and convert units of measurement.

Unit Conversions and Unit Systems

Convert units to other units or systems of units.

Units and Unit Systems List

List of available units of measurement

Featured Examples