correlation coefficient

7 次查看(过去 30 天)
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
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by