dualcursor2

Updated dualcursor function that displays and outputs the slope, average, and standard deviation.
709 Downloads
Updated 17 Sep 2013

View License

This is just an update to the original dualcursor written by Scott Hirsch (http://www.mathworks.com/matlabcentral/fileexchange/2875-dualcursor).

This version displays the slope between the cursors, and calculates the average and standard deviation of all the points between the cursors.

Usage is exactly the same as the original:
dualcursor2
dualcursor2 on
dualcursor2 off
val=dualcursor2
val=[x1 y1 x2 y2 slope avg stddev]

Also uses round2, found here: http://www.mathworks.com/matlabcentral/fileexchange/4261-round2

Cite As

Ari Feldman (2024). dualcursor2 (https://www.mathworks.com/matlabcentral/fileexchange/37021-dualcursor2), MATLAB Central File Exchange. Retrieved .

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

Inspired by: dualcursor

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Edited description to reflect use of round2

1.0.0.0