Updated 17 Sep 2013
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:
val=[x1 y1 x2 y2 slope avg stddev]
Also uses round2, found here: http://www.mathworks.com/matlabcentral/fileexchange/4261-round2
Ari Feldman (2023). dualcursor2 (https://www.mathworks.com/matlabcentral/fileexchange/37021-dualcursor2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: dualcursor
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.