ryangray/matlab_units
A units library based on a my style of having separate files for unit definitions, calling them as functions and they return multiplicative conversion factors from the unit give to the base units (SI by default) rather than a cluttered collection of separate unitXtoUnitY converters. For example, rather than 3*ft2m, you would just use 3*ft. If you then wanted to print a value in inches, rather than using x*m2inch, you would use x/inch. It has a function to support evaluating unit strings and handling temperatures.
Cite As
Ryan Gray (2026). ryangray/matlab_units (https://github.com/ryangray/matlab_units), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
|
