gslope

Compute the slope between two selected points.

You are now following this Submission

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://uk.mathworks.com/matlabcentral/fileexchange/3148-gslope), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: gdist

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0