Standard Unit of Matlab
Show older comments
I am trying to figure out the standard units of Matlab, for instance if I code mass=10, would the Matlab incorporate this as 10 kilgograms or grams?
Also, how would you put gravity into Matlab.
The only way to convert units that I figured out was to download the master m.files from the web and use it. However, is there another way such that I do not need other extra files?
3 Comments
José-Luis
on 17 Feb 2013
What is your purpose? Unit conversion?
Tae Yeong Kim
on 17 Feb 2013
Jan
on 17 Feb 2013
What are "the master m.files"?
Accepted Answer
More Answers (1)
Walter Roberson
on 17 Feb 2013
0 votes
MATLAB has no inherent notion of units (other approximations for screen displays). Whether 10 would be kilograms or grams or pounds or slugs would depend entirely on the program.
I think there are some contributions in the File Exchange for dealing with units.
Categories
Find more on Polar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!