查找输入单位
查找表达式中的单元通过使用findUnits
。
U = symunit;SYMS X单元= findUnits(X *微摩尔+ 2 * u.N)
单位= [[N],[M]]
通过使用查找等式或表达式的阵列的单元findUnits
。该findUnits
函数连接在输入中找到返回单位行向量的所有单位。findUnits
仅返回基地台。
U = symunit;阵列= [2 *微摩尔+ 4 * U.K,1 * u.N == 1 * u.kg /(微摩尔* U.S ^ 2)];单位= findUnits(数组)
单位= [[K],[N],[公斤],[M],[S]]
checkUnits
|isUnit
|newUnit
|separateUnits
|str2symunit
|symunit
|symunit2str
|unitConversionFactor