Probability - Linear Regression
Show older comments
Can I get some help for this question?

Below is my attempt
x=[1 3 5 9 11 13];
y=[22 51 127 202 227 248 252];
scatter(x,y)
That is the furthest I can go. Any help would be appretiated. :)
4 Comments
Stephan
on 21 Jan 2019
start with completing your x data - the seven is missing. Then begin to read about least squares curve fitting. To do this you should learn how to code your function in Matlab using a function handle.
Gulfstream Gaming
on 21 Jan 2019
Gulfstream Gaming
on 22 Jan 2019
Accepted Answer
More Answers (0)
Categories
Find more on Linear Regression 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!