Find Which rows/items have a positive correlation with another item
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have a dataset (see below, rows 2 to 6, items A to E). I want to find out which items have a positive correlation with row 3 (item B). The data for each item is contained in columns B to E. Time course for when a measurement was performed is contained in the first row. As you can see, for item B, at 0hrs, it is 0 but them it increases linearly as time goes on. I want to find other items that have this behaviour as item B increases with time.
Any idea on how to use Matlab code to find out which set of items have a positive correlation with item B with time?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1104685/image.png)
Thank you.
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!