Correlation matrix- help please

1 visualizzazione (ultimi 30 giorni)
Hurain Sayyedah
Hurain Sayyedah il 17 Ott 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!

Risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by