returns the closest length to a known unit. For example, 10e3m will give 10km.
Syntax
[fval funit] = closest_value(val, unit)
Input
val | a value |
unit | unit of the value (e.g. nm, m, ...) |
Output
oval | output value |
ounit | output unit |
returns the closest length to a known unit. For example, 10e3m will give 10km.
[fval funit] = closest_value(val, unit)
val | a value |
unit | unit of the value (e.g. nm, m, ...) |
oval | output value |
ounit | output unit |