How can I plot x and y error bars and also calculate the equation of the line?

1 view (last 30 days)
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.

Answers (1)

Jos (10584)
Jos (10584) on 28 Oct 2015
help polyfit

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!