Editor's Note: This file was selected as MATLAB Central Pick of the Week
Dual cursors are useful for picking relative measurements off of a plot; for instance - calculate the period of a time series, or the relative amplitude of two frequencies. A picture's worth a thousand words, so take a peek.
Key Features:
- Basic syntax: dualcursor on / dualcursor off
- Extended syntax supports a high level of control
- Works with live data streams
- Works in GUIDE guis
- Includes delta calculations (x2-x2, y2-y1)
- Export selected region to a new figure or to the workspace
Cite As
Michelle Hirsch (2022). dualcursor (https://github.com/michellehirsch/MATLAB-Dual-Cursors), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Speech Analysis using LPC, dualcursor2, stackobj, dtmcursor
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.