How to plot measurement points with x and y error bars, as well as a regression line

1 view (last 30 days)
I have a file full of measurements and errors for x (RA) and y (Dec) and would like to have them ploted with an additional regression line. Also, I'm wondering how the syntax goes if I also want to make a regression line for the e.g. first 10 measurement points. Thank you for your help.

Answers (1)

Star Strider
Star Strider on 16 May 2015
There are a number of such functions in the File Exchange. See which of these works best for you.

Products

Community Treasure Hunt

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

Start Hunting!