Dear all, I have two signals as shown in attached figure. I am using the "peakfinder" to find the number of peaks of each one. I need to find the first match of the peaks of the two signals. Thanks for help. Haitham.

답변 (1개)

Image Analyst
Image Analyst 2014년 10월 8일

0 개 추천

differenceSignal = abs(signal1-signal2);
indexOfFirstMatch = find(differenceSignal < someSmallToleranceNumber, 1, 'first');

카테고리

태그

질문:

2014년 10월 8일

답변:

2014년 10월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by