GETTHETANGENT

GETTHETANGENT returns the slope and the intercept of the tangent to a curve.
1.3K Downloads
Updated 16 Apr 2009

View License

GETTHETANGENT draws the tangent to a curve at a point that the user chooses by a mouse-click and displays a text-box giving the slope and the y-intercept value of this tangent in the current axes.

GETTHETANGENT(H) gives the focus to the axes whose the handle is H and processes in theses axes.

[SLOPE, INTERCEPT]=GETTHETANGENT returns the slope and the Y-intercept of the tangent to a curve belonging to the current axes and at a point friendly choosen by the user.

Cite As

Jean-Luc Dellis (2024). GETTHETANGENT (https://www.mathworks.com/matlabcentral/fileexchange/23799-getthetangent), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0