File Exchange

image thumbnail

GETTHETANGENT

version 1.0.0.0 (4.49 KB) by Jean-Luc Dellis
GETTHETANGENT returns the slope and the intercept of the tangent to a curve.

2 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 (2021). GETTHETANGENT (https://www.mathworks.com/matlabcentral/fileexchange/23799-getthetangent), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Sivabalan Selvarajan

Good Work. helped me a lot

Syed Umair Uddin

Nice work

Matthijs

Very useful! Should be standard as part of the datatip in Matlab.

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!