How can I create a correlation graph
88 次查看(过去 30 天)
显示 更早的评论
Good evening!
I need to plot the correlation of a set of differently indexed vectors just like in the attached plot (I found it in a scientific publication).
By which Matlab command is it possible to create such a plot?
Thank you very much for your help!
2 个评论
Mathieu NOE
2022-5-31
hello
The following MATLAB® functions compute sample correlation coefficients and covariance. These sample coefficients are estimates of the true covariance and correlation coefficients of the population from which the data sample is drawn.
Function Description
The MATLAB function corrcoef produces a matrix of sample correlation coefficients for a data matrix (where each column represents a separate quantity). The correlation coefficients range from -1 to 1, where. Values close to 1 indicate that there is a positive linear relationship between the data columns.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!