transforming a matrix from numbers to letters

1 回表示 (過去 30 日間)
Paul
Paul 2013 年 10 月 3 日
回答済み: Walter Roberson 2013 年 10 月 3 日
Hi,
I'm reviewing a problem for a quiz and I have to convert the following matrix:
elements =
32 72
72 101
76 105
66 101
32 66
32 67
32 78
32 79
32 70
78 101
78 97
77 103
65 108
83 105
32 80
32 83
67 108
65 114
into a new matrix, with the new matrix having each element be the corresponding character. So, for example, the first two rows of the new matrix would be:
newelements(1:2,:)= H He
Thanks!

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 10 月 3 日
char()

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by