Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
The units.m function provides a complete methodology of incorporating real world units into matlab calculations. Units.m returns a struct with fields containing a new class of variable called a dimensioned variable. A dimensioned variable contains a value and a dimension. The mathematical operations performed on these variables are designed to ensure that your code remains dimensionally consistent throughout your calculation. For example, an error occurs if you try to add a time variable to a length variable.
***note****
A quick and clean method of handling units was previously posted with the title "Simple Units and Dimensions for Matlab". Although this previous method did not force dimensional consistency, it may be a better choice for applications where simplicity is desired.
******
Zitieren als
Rob deCarvalho (2026). Units and Dimensions Suite for Matlab (https://de.mathworks.com/matlabcentral/fileexchange/10070-units-and-dimensions-suite-for-matlab), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: Simple Units and Dimensions for Matlab
Inspiriert: Units for Matlab, Fuel fraction sizing, Physical Units Toolbox
Allgemeine Informationen
- Version 1.0.0.0 (19,1 KB)
-
Keine Lizenz
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0.0 |
