Where can I find the units for the dataset carsmall?
Show older comments
I am playing around with the dataset 'carsmall'. Apparently I am unable to find the units for accelaration, weight and displacement.
3 Comments
Dyuman Joshi
on 8 Jan 2024
Edited: Dyuman Joshi
on 8 Jan 2024
The only page where units of any quantities are mentioned seems to be - https://in.mathworks.com/help/stats/visualizing-multivariate-data.html, where units for fuel efficieny (miles per gallon), accelaration (time for 0-60 mph in sec) and engine displacement (in cubic inches) are given.
Note that carsmall is a subset of carbig, thus the same units apply for carsmall as well.
Judging by the values, I'd say the weight is in Pounds.
If you want a definitive answer, you will have to ask TMW about that.
Cris LaPierre
on 8 Jan 2024
Correcting the link so it doesn't include the comma.
Gabriele
on 9 Jan 2024
Accepted Answer
More Answers (1)
Joe Vinciguerra
on 8 Jan 2024
0 votes
Since the dataset is just used for calculation examples it's not important, and thus not clearly documented. But doing a quick search, some of the functions that use it as an example in their help pages refer to weight as being in "pounds", and displacement as "cubic inch". I can't find anything explicitly describing the units for accelartion, but considering the context and the magnitude of the numbers I would assume it's in "seconds to go from 0-60 mph".
Categories
Find more on Get Started with MATLAB 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!