Linear fit (What is the standard error)
5 views (last 30 days)
Show older comments
Hi, all,
I make a linear fit for my data.
% linear fit
P = polyfit(x,y,1);
yfit = P(1)*x+P(2);
I can find the zero by taking the division of -P(2)/P(1). My question is, what is the standard error for the -P(2)/P(1) I find? What is the matlab code for this?
Answers (0)
See Also
Categories
Find more on Get Started with Curve Fitting Toolbox 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!