Simple Units and Dimensions for Matlab

This code provides an effecient, easy to use, method of incorporating real world units ...
3.3K Downloads
Updated 3 Mar 2006

No License

***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 (2024). Simple Units and Dimensions for Matlab (https://www.mathworks.com/matlabcentral/fileexchange/9873-simple-units-and-dimensions-for-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Chemistry in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Improved the self-contained help.