Code covered by the BSD License  

Highlights from
GETTHETANGENT

4.0

4.0 | 1 rating Rate this file 7 Downloads (last 30 days) File Size: 4.49 KB File ID: #23799

GETTHETANGENT

by Jean-Luc Dellis

 

16 Apr 2009

GETTHETANGENT returns the slope and the intercept of the tangent to a curve.

| Watch this File

File Information
Description

 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.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
31 Aug 2009 Matthijs

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

26 Sep 2011 Syed Umair Uddin

Nice work

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
tangent Jean-Luc Dellis 16 Apr 2009 09:57:00
curve Jean-Luc Dellis 16 Apr 2009 09:57:00
slope Jean-Luc Dellis 16 Apr 2009 09:57:00
intercept Jean-Luc Dellis 16 Apr 2009 09:57:00
measurement Jean-Luc Dellis 16 Apr 2009 09:57:00
gui Jean-Luc Dellis 16 Apr 2009 09:57:00
data exploration Jean-Luc Dellis 16 Apr 2009 09:57:00

Contact us at files@mathworks.com