gslope simply waits for you to click twice on a graph and computes the slope between those points. Logarithmic scaling is automatically accounted for.
I use this for myself and in teaching to find observed convergence rates from a graph.
Toby Driscoll (2021). gslope (https://www.mathworks.com/matlabcentral/fileexchange/3148-gslope), MATLAB Central File Exchange. Retrieved .
Inspired: gdist
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Waiting for download
Excellant Presentation
Simple and good.