Units and Dimensions Suite for Matlab

版本 1.0.0.0 (19.1 KB) 作者: Rob deCarvalho
A complete suite for using real world units in matlab.
2.9K 次下载
更新时间 2006/2/21

无许可证

The units.m function provides a complete methodology of incorporating real world units into matlab calculations. Units.m returns a struct with fields containing a new class of variable called a dimensioned variable. A dimensioned variable contains a value and a dimension. The mathematical operations performed on these variables are designed to ensure that your code remains dimensionally consistent throughout your calculation. For example, an error occurs if you try to add a time variable to a length variable.

***note****
A quick and clean method of handling units was previously posted with the title "Simple Units and Dimensions for Matlab". Although this previous method did not force dimensional consistency, it may be a better choice for applications where simplicity is desired.
******

引用格式

Rob deCarvalho (2024). Units and Dimensions Suite for Matlab (https://www.mathworks.com/matlabcentral/fileexchange/10070-units-and-dimensions-suite-for-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Physics 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0