UnitConvert

버전 1.0.0.0 (4.78 KB) 작성자: Christophe Tilman
this script allow conversion between various engineering units.
다운로드 수: 646
업데이트 날짜: 2009/8/27

라이선스 보기

list=UNITCONVERT give a list of available categories (useful to populate a popupmenu for example)

units=UNITCONVERT('category') give a list of available units for one category

category=UNITCONVERT('unit') give the category name for that unit

DataOut=UNITCONVERT(DataIn,'UnitIn') convert DataIn(matrix) to Standard Unit:
acceleration:meter/sec²
angle:degree
area:meter²
computer:bit
concentration:mole/liter
Density:kilogram/meter³
Distance:meter
Energy:joule
Flow:liter/minute
Force:newton
Light:lux
Mass:kilogram
Power:watt
Pressure:pascal
Rotation:revolution/second
Speed:meter/second
Time:second
Torque:newton meter
Volume:cubic meter
Volume - Dry:liter
Without Dimension:[]

DataOut=UNITCONVERT(DataIn,'UnitIn','UnitOut') convert DataIn(matrix) from UnitIn to UnitOut

Exemple:
UnitConvert(500,'meter','kilometer')
ans =
0.5000

인용 양식

Christophe Tilman (2025). UnitConvert (https://kr.mathworks.com/matlabcentral/fileexchange/25149-unitconvert), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Marine and Underwater Vehicles에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0