Rank: 334711 based on 0 downloads (last 30 days) and 0 file submitted
photo

John Doe

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by John
Updated File Comments Rating
12 Apr 2013 DimensionedVariable Class - units support for MATLAB A new variable type allowing use of real-world units and dimensions with enforced unit consistency. Author: Sky Sartorius

Very cool, I use it extensively and it really helps.
One thing that I encountered is that assignements such as vect(index)=[] which remove elements in a vector don't work when using a DimensionedVariable vector.
Also preallocating arrays e.g. before a loop is not possible when we don't know the unit of the content at the moment of allocation. Maybe NaN and 0 should be treated specially, in a sense these have no unit and any unit at the same time.

Contact us