UnitDimensions

UnitDimensions[unit]

returns a list of base dimensions associated with the specified unit.

UnitDimensions[quantity]

returns a list of base dimensions associated with the unit of the specified quantity.

Details

  • UnitDimensions returns a list of ordered dimension pairs, indicating the magnitude of the unit in that dimension.
  • Physical dimensions are: "AmountUnit", "ElectricCurrentUnit", "LengthUnit", "LuminousIntensityUnit", "MassUnit", "TemperatureUnit", and "TimeUnit".
  • Additional unit dimensions include: "AngleUnit", "InformationUnit", "MoneyUnit", "PersonUnit", "SolidAngleUnit", and "TemperatureDifferenceUnit".
  • UnitDimensions accepts TimeSeries, EventSeries, and TemporalData inputs.

Examples

open allclose all

Basic Examples  (2)

Get the dimensions associated with a unit:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Get the dimensions associated with products of units:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (3)

Applications  (2)

Properties & Relations  (9)

Possible Issues  (1)

See Also

Quantity  UnitConvert  CompatibleUnitQ  UnitSimplify

Tutorials

Introduced in 2012
(9.0)