A class for handling dimensioned variables.

Versión 5.0 (319 KB) por Lothar
Realize calculations of numerical variables (scalar, vector,matrix) with their corresponding unique or mixed dimension(s).
12 Descargas
Actualizado 6 oct 2019

Ver licencia

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.

Citar como

Lothar (2026). A class for handling dimensioned variables. (https://la.mathworks.com/matlabcentral/fileexchange/72946-a-class-for-handling-dimensioned-variables), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2018b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Arithmetic Operations en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
5.0