필터 지우기
필터 지우기

Correlation between two signals

조회 수: 10 (최근 30일)
Praveen Kumar Pakkirisamy
Praveen Kumar Pakkirisamy 2020년 10월 10일
댓글: Alan Stevens 2020년 10월 15일
The figure below shows the plot of two different signals which I am aiming to compare. The blue signal is the actual signal and the red signal is the prediction of the same signal. I have also attached signals a and b as mat files.
I have following questions:
  1. How do I compare both the signals? Is there anything like Pearson coefficient for these type of signals?
  2. I believe that applying Pearson coefficient for this signal is not right as the two signals are quite non-linear (I observed this by scatter-plotting both together).
Thank you in advance. Stay safe and healthy

답변 (1개)

Alan Stevens
Alan Stevens 2020년 10월 10일
I don't see why you shouldn't use a Pearson r correlation:
A = a - mean(a);
B = b - mean(b);
r = A*B'/ (norm(A)*norm(B));
  댓글 수: 8
Praveen Kumar Pakkirisamy
Praveen Kumar Pakkirisamy 2020년 10월 15일
Sorry, I don't understand what is happening. Only on cumulative areas, you mean only till a certain data point?. Is there a reference/study material for this method as I want to be certain of what method I am using. Thank you.
Alan Stevens
Alan Stevens 2020년 10월 15일
It's just a suggestion of a way of ranking your different models!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by