how to plot a correlation matrix between two variables as a heatmap in matlab?
Afficher commentaires plus anciens
I have two variables which vary with each run of my code. I have to calculate the correlation matrix between these two variables. The matrix axes will be like variable X(first run),variable Y(first run),Variable X(second run),variable Y (second run)......I need to plot this correlation matrix as a heat map?
please help me
Réponse acceptée
Plus de réponses (1)
Niyati Chokshi
le 27 Mai 2022
Modifié(e) : Niyati Chokshi
le 27 Mai 2022
0 votes
I have four variables- 3 of them are caluating the fourth one, thus mismatch of the lengths/dimension. . How do I use imagesc and corr for that?
Catégories
En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!