Min and Max gradient
8 views (last 30 days)
Show older comments
Is there any function to find the min and max gradient out of sgima3 lines?
Note: my data does not include uncertainties. I am estimating the slope and intercept in log space out of simulated data. I want to find the error of my estimates (slope and intercept).
Thanks
1 Comment
Image Analyst
on 25 Jan 2019
Exactly what are "sgima3 lines"?
Please read this link before attaching your data with the paper clip icon to allow people to answer you.
Otherwise all we can say is to subtract the fit from your actual, and compute the residuals or something like that.
Note: if your data does not include uncertainties (i.e., no noise with respect to a line), meaning it fits a line perfectly, then there will be no error in the slope and intercept you get from polyfit()
Answers (0)
See Also
Categories
Find more on Linear Regression 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!