UnitSimplify
UnitSimplify[quantity]
attempts to simplify the units of the specified quantity.
Details and Options
- UnitSimplify will attempt to simplify a Quantity unit to an equivalent unit expression using heuristic methods.
- The option UnityDimensions can be used to specify which UnitDimensions should be factored out during simplification.
- UnitSimplify accepts TimeSeries, EventSeries, and TemporalData inputs.
- Operations involving currency units require internet connectivity.
Examples
open allclose allBasic Examples (3)
Convert a Quantity of compound units to an equivalent Quantity with simpler units:
UnitSimplify will also return compound units when a single component unit is not found:
UnitSimplify will also rescale based on the value of the quantity:
Scope (4)
Get the values from Quantity expressions in a time series:
Use UnitSimplify with QuantityDistribution specifications:
Use UnitSimplify with SparseArray specifications:
Use UnitSimplify with Association specifications:
Options (3)
UnityDimensions (3)
UnitSimplify will not automatically cancel out angle units like "AngularDegrees":
UnityDimensions can be used to factor out angular units:
Use UnityDimensionsAutomatic to remove both "AngleUnit" and "SolidAngleUnit" dimensions:
UnityDimensions can include any number of dimensions to factor out:
Properties & Relations (1)
UnitSimplify threads over lists:
Text
Wolfram Research (2012), UnitSimplify, Wolfram Language function, https://reference.wolfram.com/language/ref/UnitSimplify.html.
CMS
Wolfram Language. 2012. "UnitSimplify." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UnitSimplify.html.
APA
Wolfram Language. (2012). UnitSimplify. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UnitSimplify.html