필터 지우기
필터 지우기

Correlation between two variables (not same size, not pairs)

조회 수: 1 (최근 30일)
shima
shima 2018년 1월 9일
답변: Kim Folmer Andersen 2018년 1월 11일
Hi, I'm new to Matlab and have a question.
I have these two variables, fi and fu.
fi has 94 rows and 1 column.
fu has 41 rows and 1 column.
How can I calculate the correlation between fi (as a whole) and fu (as a whole), and the P-value?
I don't want the correlation changes when I change the sort of numbers either in fi or in fu (like below).
.
row 1: fi(1) fu(1)
row 2: fi(2) fu(2)
------------------
row 1: fi(1) fu(2)
row 2: fi(2) fu(1)
.
any help would be appreciated

답변 (1개)

Kim Folmer Andersen
Kim Folmer Andersen 2018년 1월 11일
you might want to look into crosscorrelation?

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by