Units and Dimensions Suite for Matlab
라이선스 없음
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 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux태그
도움
받음: Simple Units and Dimensions for Matlab
줌: Units for Matlab, Fuel fraction sizing, Physical Units Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!@DimensionedVariable/
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |