matlab 求 相关系数

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 23:51:36
matlab 求 相关系数
x}RJ#A~ N4zZc.*",<Ԙ'ɗpϣtװ~{Fn\c0ןw({7}qk>9T.b]T_IUzzҋrZզCz{SͰ^VX ;|mgI)4l< Ȫ[Hq*XM:dP h㚰b_|j=۹h2<,* `e?US YcVOb£k'U,pů0ř6k!3 s"ԅh/^%l)Ζ\G߶]2ZoGOL`[49}^rWkn|h-p}jV{O$Jm C3~?<9

matlab 求 相关系数
matlab 求 相关系数

matlab 求 相关系数
Syntax
R = corrcoef(X)
R = corrcoef(x,y)
[R,P]=corrcoef(...)
[R,P,RLO,RUP]=corrcoef(...)
[...]=corrcoef(...,'param1',val1,'param2',val2,...)
Description
R = corrcoef(X) returns a matrix R of correlation coefficients calculated from an input matrix X whose rows are observations and whose columns are variables.
Examples
Generate random data having correlation between column 4 and the other columns.x = randn(30,4); % Uncorrelated data
x(:,4) = sum(x,2); % Introduce correlation.
[r,p] = corrcoef(x) % Compute sample correlation and p-values.
[i,j] = find(p