Correlation matrix graph using excel data

4 views (last 30 days)
Rasim Shahzad
Rasim Shahzad on 11 Dec 2020
Edited: Jon on 11 Dec 2020
How can i plot correlation matrix between variables using excel worksheet?

Answers (1)

Jon
Jon on 11 Dec 2020
Edited: Jon on 11 Dec 2020
Get the data from the Excel worksheet into MATLAB matrices using readmatrix, then use MATLAB's corr function
You can get documentation for those two functions by typing doc readmatrix and doc corr on the command line

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!