Visualise Large correlation matrix
12 次查看(过去 30 天)
显示 更早的评论
Hi Everybody,
Is there anyway I can create a correlation matrix heatmap in matlab?
I have a huge correlation matrix table which has been calculated in SPSS. I just need a better way of visualising this data, if anyone has any ideas that I could achieve this using matlab?
Thanks!
Cameron
0 个评论
回答(2 个)
Peng Li
2020-3-26
You can visualize a matrix by heatmap using imagesc function.
>> test = randn(100, 100);
>> figure; imagesc(test); colorbar;
0 个评论
Cameron Kirk
2020-3-27
1 个评论
Peng Li
2020-3-27
better use colorbar to add a color bar so that you know the corresponding levels these colors are for. Basically this means your correlation matrix shows bigger values on row around 60. Is that expected?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!