Correlation matrix- help please

1 vue (au cours des 30 derniers jours)
Hurain Sayyedah
Hurain Sayyedah le 17 Oct 2020
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!

Réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by