Units for Matlab

버전 1.0.0.0 (34.4 KB) 작성자: John Kitchin
This package provides units conversion factors and enforces unit algebra for Matlab
다운로드 수: 856
업데이트 날짜: 2012/5/29

라이선스 보기

This package provides a units class that enforces unit algebra, e.g. m*m = m^2, m + s is undefined, for Matlab. All the standard operators are defined, and many linear algebra, nonlinear algebra, ode solvers, data fitting functions are overloaded to allow units to be used with them (enough for use in a typical chemical engineering course). The package automatically performs conversions, so 1*kg + 1*lb is straightforward. This package is more complete and functional than previous units implementations in File Exchange.

Warning: not every function is overloaded, and many functions tend to silently drop units!

Basic usage is:
u = cmu.units;
a = 1*u.kg;
b = 1*u.lb;
a + b

Examples of using the package can be found in the tests directory, and at http://matlab.cheme.cmu.edu/2011/08/05/using-cmu-units-in-matlab-for-basic-calculations/.

Find the current version and submit bugs at https://github.com/jkitchin/matlab-cmu.

인용 양식

John Kitchin (2024). Units for Matlab (https://www.mathworks.com/matlabcentral/fileexchange/36878-units-for-matlab), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011b
모든 릴리스와 호환
플랫폼 호환성
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