Simple Units and Dimensions for Matlab
by Rob deCarvalho
02 Feb 2006
(Updated 03 Mar 2006)
This code provides an effecient, easy to use, method of incorporating real world units ...
|
Watch this File
|
| File Information |
| Description |
***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. |
| Acknowledgements |
This submission has inspired the following:
Units and Dimensions Suite for Matlab, Fundamental Physical Constants and Unit Conversion in SI (MKS) & Gaussian (CGS) Units, Units for Matlab
|
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (7) |
| 05 Feb 2006 |
John D'Errico
|
|
|
| 06 Feb 2006 |
Rob deCarvalho
|
|
|
| 08 Feb 2006 |
Nathaniel Brahms
|
|
|
| 10 Feb 2006 |
John D'Errico
|
|
|
| 20 Feb 2006 |
Rob deCarvalho
|
|
|
| 12 Mar 2009 |
Richard Stephens
|
|
|
| 13 Mar 2012 |
Patrik Eschle
|
|
|
| Updates |
| 07 Feb 2006 |
Example file has been moved into the help section and is no longer included as a separate file. |
| 07 Feb 2006 |
Updating the description and title to this post. |
| 21 Feb 2006 |
Updating the file description to reference the improved version |
| 03 Mar 2006 |
Improved the self-contained help. |
|
Contact us at files@mathworks.com