You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Finds the matches in any two vectors, ideally set up for calculating temporal asynchrony between events (e.g., within a sensorimotor timing experiment).
This function accepts two vectors (e.g., time stamps, drum hits, word onsets) and looks for the mutual closest pairwise matches between successive observations, dropping unpaired points (e.g., extra or omitted events). No point can be paired more than once.
The resultant absolute distances (e.g., asynchrony in milliseconds) between each pair of points are returned as a new vector, plus the indices of paired/unpaired observations.
You can also optionally plot the two input vectors along with their proposed pairings by flagging third optional argument as '1'.
General Information
- Version 2.0.1 (3.22 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 2.0.1 | Little updates to plotting and instructions |
||
| 1.251 | Clarification to description |
||
| 1.25 | Fixed plotting issue |
||
| 1.1 | Added the option to return indices of paired and unpaired points, also improved readability of plotting |
||
| 1.0.0 |
