dualcursor2

Updated dualcursor function that displays and outputs the slope, average, and standard deviation.

You are now following this Submission

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 (2026). dualcursor2 (https://au.mathworks.com/matlabcentral/fileexchange/37021-dualcursor2), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: dualcursor

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Edited description to reflect use of round2

1.0.0.0