Where can I find the units for the dataset carsmall?
Mostra commenti meno recenti
I am playing around with the dataset 'carsmall'. Apparently I am unable to find the units for accelaration, weight and displacement.
3 Commenti
Dyuman Joshi
il 8 Gen 2024
Modificato: Dyuman Joshi
il 8 Gen 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
il 8 Gen 2024
Correcting the link so it doesn't include the comma.
Gabriele
il 9 Gen 2024
Risposta accettata
Più risposte (1)
Joe Vinciguerra
il 8 Gen 2024
0 voti
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".
Categorie
Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!