In this video we use polyfit to fit a line or polynomial to data. This is useful for linear or polynomial regression using least squares.
All Matlab analysis was done on Matlab 2018. To see how to make animated graphs in matlab, checkout our making movies in matlab video. Subscribe for new content every week.
24 май 2018