You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
***Note***
This method of using units is quick and clean. For a more complete version that automatically does dimensional analysis, see the file entitled "Units and Dimensions Suite for Matlab" (See the Acknowledgements section below)
*******
The units.m function returns a struct containing the SI values of many common units. The self-contained help demonstrates how to use this struct to cleanly and effeciently perform matlab calculations using commonly encountered units and physical constants. The code is easily modified to include any non-standard unit or constant desired. This method for handling units was inspired by the methods used by MathCAD.
Cite As
Rob deCarvalho (2026). Simple Units and Dimensions for Matlab (https://www.mathworks.com/matlabcentral/fileexchange/9873-simple-units-and-dimensions-for-matlab), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (2.29 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Improved the self-contained help. |
