image thumbnail

Trendlines

version 1.0.0.0 (389 Bytes) by Nagi Hatoum
Draws a trendline or a line on a plot using the mouse

3.4K Downloads

Updated 5 Mar 2003

translation missing: nl-NL.gallery.no_license

Draws a trendline or a line on a plot using the mouse. First left click leaves a red dot, second left click connect the dots. Returns the XY pairs making the lines in the XY vector.

Cite As

Nagi Hatoum (2022). Trendlines (https://www.mathworks.com/matlabcentral/fileexchange/3069-trendlines), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
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!