Calculate Asynchrony/Euclidea​n Distance Between Matches

버전 1.251 (3.13 KB) 작성자: Alexis
Find the mutual closest pairwise matches between observations in two vectors
다운로드 수: 14
업데이트 날짜: 2022/11/30

라이선스 보기

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'.
MATLAB 릴리스 호환 정보
개발 환경: R2019b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
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