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

2 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Linear Regression 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by