correlation coefficient

조회 수: 7 (최근 30일)
milad babaei
milad babaei 2011년 6월 18일
This function will generate a normal distribution conditional by bounds:
i run above code 2times and have 2 vectors by this format x=(1,i),i=1e4 and now i want to make correlation coefficient between those variables.what should i do?

채택된 답변

Wolfgang Schwanghart
Wolfgang Schwanghart 2011년 6월 18일
Hi,
doc corrcoef
Best regards, W.
  댓글 수: 2
milad babaei
milad babaei 2011년 6월 19일
hi
would you please explain me more on using this command??
Walter Roberson
Walter Roberson 2011년 6월 19일
When x1 and x2 are your two vectors, then
R = corrcoeff([x1;x2]);

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by