A class for handling dimensioned variables.
Dimensioned variables are useful to make calculations with respect to their dimensions. This with the intention to avoid miscalculations due to mixing dimensions or misunderstandings.
This advanced variable class is a first attempt to this topic without claim to completeness. Design is done in the way that dimension definitions can be modified or enlarged dynamically to fit special needs.
The dimvar variables can combine a single or multiple values (double) with
• one unique dimension, so called a unique "dimvar"-variable
• or multiple dimensions, so called mixed “dimvar”-variable
The functionality is realized by the 'dimvar'-class and supported by the 'dimDefs'-function. The class-provides all methods for math operations, dimension conversions, comparisons and further miscellaneous operations while the function-acts as a dynamic unit definition container to offer the possibility for personal modified or enlarged unit definitions.
Cita come
Lothar (2024). A class for handling dimensioned variables. (https://www.mathworks.com/matlabcentral/fileexchange/72946-a-class-for-handling-dimensioned-variables), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
5.0 |