Need help displaying an output file for data.

2 ビュー (過去 30 日間)
Clemente Delgado Vega
Clemente Delgado Vega 2019 年 12 月 13 日
コメント済み: Star Strider 2019 年 12 月 13 日
I have to write a MATLAB script (code) that reads an input file containing all the scores of 30 students and assign them their letter grade. I already have everything set up to give the correct letter grade i just need to open a new file to display it on.
This is what I have...
grade= xlsread('gradesexcel');
data.grade = discretize(grade,...
[.50, .60, .70, .80, .90, 1.00],...
'categorical',...
{'F','D','C','B','A'});
thank you

採用された回答

Star Strider
Star Strider 2019 年 12 月 13 日
I have no idea what you want to do.
However if you create a table of your results, writetable could do what you want.
  4 件のコメント
Clemente Delgado Vega
Clemente Delgado Vega 2019 年 12 月 13 日
Thank you
Star Strider
Star Strider 2019 年 12 月 13 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by