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 件)

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by