A class for handling dimensioned variables.

Versione 5.0 (319 KB) da Lothar
Realize calculations of numerical variables (scalar, vector,matrix) with their corresponding unique or mixed dimension(s).
9 download
Aggiornato 6 ott 2019

Visualizza la licenza

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
Creato con R2018b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
5.0