UnitSimplify

UnitSimplify[quantity]

attempts to simplify the units of the specified quantity.

Details and Options

Examples

open allclose all

Basic 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:

Wolfram Research (2012), UnitSimplify, Wolfram Language function, https://reference.wolfram.com/language/ref/UnitSimplify.html.

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

BibTeX

@misc{reference.wolfram_2024_unitsimplify, author="Wolfram Research", title="{UnitSimplify}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/UnitSimplify.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_unitsimplify, organization={Wolfram Research}, title={UnitSimplify}, year={2012}, url={https://reference.wolfram.com/language/ref/UnitSimplify.html}, note=[Accessed: 21-November-2024 ]}