How can I plot x and y error bars and also calculate the equation of the line?
Show older comments
I simply have 6 sets of y values and 1 set of x values. The error in the x and y is constant. I would like to fit a straight line to the data to calculate the gradient for each line.
2 Comments
per isakson
on 28 Oct 2015
Edited: per isakson
on 28 Oct 2015
Isadora Rose
on 28 Oct 2015
Answers (1)
Jos (10584)
on 28 Oct 2015
0 votes
help polyfit
Categories
Find more on Errorbars 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!