Complete the code to read a CSV file named 'data.csv' into a table.
data = readtable([1]);The readtable function reads the CSV file named 'data.csv' into a table.
Complete the code to write the table 'data' to a CSV file named 'output.csv'.
writetable(data, [1]);The writetable function saves the table data to the file 'output.csv'.
Fix the error in the code to read only the first 5 rows from 'data.csv'.
opts = detectImportOptions([1]); opts.DataLines = [2 6]; data = readtable([1], opts);
The filename must be the same and correct in both places to read the first 5 rows from 'data.csv'.
Fill both blanks to create a CSV file 'summary.csv' with only columns 'Name' and 'Score' from the table 'data'.
summary = data(:, [1]); writetable(summary, [2]);
Select columns 'Name' and 'Score' from data and write them to 'summary.csv'.
Fill all three blanks to read 'data.csv', filter rows where 'Score' > 80, and write to 'high_scores.csv'.
data = readtable([1]); high_scores = data(data.[2] [3] 80, :); writetable(high_scores, 'high_scores.csv');
Read 'data.csv', filter rows where the 'Score' column is greater than 80, then write to 'high_scores.csv'.