Correlation matrix- help please
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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:
- Load the CSV file mlb_players.csv.
- 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 commentaires
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!