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

Erich

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Erich View all
Updated File Comments Rating
07 May 2012 Unit Converters Convert units of pressure, length, time, force, mass, accel., temp, speed, frequency, area, & more! Author: Chad Greene

01 May 2012 Unit Converters Convert units of pressure, length, time, force, mass, accel., temp, speed, frequency, area, & more! Author: Chad Greene

I suggest splitting the functions into separate folders, that way users can include in their path only the functions that interest them.

I realize that using floating point numbers is an approximation, but that doesn't mean using a toolbox like this shouldn't give you an answer within a few eps. For example:
cm = in*2.54;
Good! Exact definition used. But
m = in/39.37008;
??? Why not
m = in * 0.0254;
?
In fact,
m2in(in2m(1)) gives 0.999999968000065
For any given conversion, an answer of 1 +/- a couple eps should be allowed, but this error is much greater than that.

Also, I found the function ms22Gal which behaves identically to mps22Gal. I believe ms22Gal should be removed.

P.S. I drive a Jetta TDI but so far I've only used regular diesel ;)

18 Nov 2011 Units Conversion Toolbox This toolbox attaches units to Matlab variables and enables unit conversion. Author: John McDermid

Try
>> a= unit([1 2],'m')

21 Sep 2011 Units Conversion Toolbox This toolbox attaches units to Matlab variables and enables unit conversion. Author: John McDermid

Very easy to work with units using this toolbox. Author quickly updated the files when R2011b introduced an incompatibility.

09 Sep 2011 Units Conversion Toolbox This toolbox attaches units to Matlab variables and enables unit conversion. Author: John McDermid

In MATLAB R2011b I get:

>> Units(3, 'ft')
Error using Units
Error: File: Units.m Line: 1 Column: 10
Naming a class 'Units' is not allowed, because it is already a built-in class.

Contact us