CHANGEUNIT

CHANGEUNIT (converts between units).

Sie verfolgen jetzt diese Einreichung

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.

Zitieren als

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

Quellenangaben

Inspiriert von: Units (updated)

Inspiriert: Unit Conversion Tools

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0

compact code