CHANGEUNIT

版本 1.0.0.0 (6.1 KB) 作者: Mukhtar Ullah
CHANGEUNIT (converts between units).
2.6K 次下载
更新时间 2005/1/5

无许可证

CHANGEUNIT
CHANGEUNIT(x,'unit1','unit2') - Converts array x from physical unit1
to unit2
Example: changeunit(1,'in','mm') = 25.4

This is a very compact/fast/simple version of units.m(by Henning Ressing) which has been very useful to me but is not very easy to read because of a flood of switch-case statements.

引用格式

Mukhtar Ullah (2024). CHANGEUNIT (https://www.mathworks.com/matlabcentral/fileexchange/5863-changeunit), MATLAB Central File Exchange. 检索来源 .

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

参考作品: Units (updated)

启发作品: Unit Conversion Tools

Community Treasure Hunt

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

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

compact code