How to Display Linear Trendline Fitting Equation

6 views (last 30 days)
Dear Friends,
I have some normally/lognormally distributed data. No problem with displaying graphs using normplot/probplot function or through Distribution Fitter. I see a trendline which best fits with the data. But, I can't see automatically the equation of this linear trendline on the graph. In the distribution fitter option or in the script, how I can see the trendline equation and R value? Is there any special command or part to get this?
Thanks

Answers (0)

Community Treasure Hunt

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

Start Hunting!