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.
Cite As
Toby Driscoll (2026). gslope (https://se.mathworks.com/matlabcentral/fileexchange/3148-gslope), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Data Exploration in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: gdist
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
