1st year grad student (as of April 2009), PhD program in Plasma Physics at Princeton University
Watch this Author's files
Also, I would suggest adding radians (rad = m.m/m.m;), and changing Hz = 2*pi rad/s. Isn't rad/s more consistent than Hz most of the time?
You could also add: %---- angle ---- m.rev = 2*pi * m.rad; % revolutions m.deg = pi/180 * m.rad; % degrees
%---- frequency ---- m.rpm = m.rev/m.min; % revolutions per minute
%---- flow ---- m.lpm = m.L/m.min; % liters per minute m.gpm = m.gal/m.min; % gallons per minute
This is a great update to a tool I've used frequently. I like the innovation of programmatically adding the prefix units. Thank you!
There is a bug in this part: there are no prefix H units, because the min and max are switched.
Contact us at files@mathworks.com