How to find linear correlation and how to add a horizontal average line when the dimensions of arrays being concatenated are not consistent?
1 回表示 (過去 30 日間)
古いコメントを表示
B4= (151.4 150.2 142.2 152.8 152.2 150.1 152.3 150.1);
B5= (547.1 548.5 548.1 544.4 531.5);
3 件のコメント
Rik
2020 年 2 月 12 日
They are not paired, so they don't correlate. The whole point of correlation is that you have pairs of numbers and you can try to define a trend.
How would you do this with pen and paper? That may help us to understand what you mean and how you could implement it in Matlab.
回答 (1 件)
Srivardhan Gadila
2020 年 2 月 17 日
In order to find the linear correlation between B4 and B5 they should have same number of observations/ elements.
You can also refer to the following link for other correlation functions
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!