CHANGEUNIT

CHANGEUNIT (converts between units).

Ahora está siguiendo esta publicación

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.

Citar como

Mukhtar Ullah (2026). CHANGEUNIT (https://es.mathworks.com/matlabcentral/fileexchange/5863-changeunit), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspirado por: Units (updated)

Inspiración para: Unit Conversion Tools

Categorías

Más información sobre Convert Image Type en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0

compact code