matlab等级相关函数错误

时间:2013-09-16 04:04:24

标签: matlab correlation

我只是想找到两个向量的Spearman和Kendall相关系数。 我的数据矩阵大小为45x2。

当我运行此命令时:

corr(data(:,1),data(:,2))

我收到此错误:

"Index exceeds matrix dimensions."

我也尝试了 [link]中的示例,我收到了这个错误:

"Indexing cannot yield multiple results."

0 个答案:

没有答案