How can I add a character string to a numerical array?
古いコメントを表示
I am working on a gradebook problem and I would like to add a column to an array of grades. This column will show the letter 'A' for grades higher than a total of 90. For example, I am using an if/else statement so:
if sum_grades=>90 %add column and set equal to letter A for that specific row of grades. How can I set the new location in the column to letter A? If I set A=1, can I use num2str to get A instead of 1?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Data Types についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!