Correlation matrix- help please

1 次查看(过去 30 天)
Hurain Sayyedah
Hurain Sayyedah 2020-10-17
Hey everyone, I need help with my practical.
I've downloaded and imported data from https://people.sc.fsu.edu/~jburkardt/data/csv/csv.html as required. The file name is mlb_players.csv.
I need with the second step which is:
  1. Load the CSV file mlb_players.csv.
  2. Compute the correlation matrix between the columns "Heightinches" and "Weightlbs". To compute the correlation matrix, use MATLAB's corrcoef function. Remember that this function needs a matrix as input, so you need to extract the columns from your table using the notation { ... }.
Thank you in advance!

回答(0 个)

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by