Create a Model to Predict Data.
Ältere Kommentare anzeigen
Hi,
I'm given the data attached and I need to create a model to predict % Body Fat from a linear combination of Waist, Weight, and offset. So far, I have reordered the Waist in numerical order and then created a scatter plot as you can see in the code below. I am not sure how to proceed from here.
Waist=[32 32 33 33 33 34 34 35 36 36 38 38 38 39 40 40 41 41 44 44];
Weight=[175 168 159 188 188 159 146 173 181 175 200 187 188 196 192 240 205 215 246 219]
scatter(Waist, Weight)
xlabel ('Waist (in)')
ylabel ('Weight (lb)')
Thank you so much in advance!!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Linearization finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!