linear fit of data

3 views (last 30 days)
Dario
Dario on 19 Mar 2018
Answered: Jos (10584) on 19 Mar 2018
I have to fit this array (300x1) of data with a line and I have no idea how to do a linear fit with this values. Thank you

Answers (1)

Jos (10584)
Jos (10584) on 19 Mar 2018
help polyfit

Categories

Find more on Linear and Nonlinear 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!