transforming a matrix from numbers to letters

1 visualización (últimos 30 días)
Paul
Paul el 3 de Oct. de 2013
Respondida: Walter Roberson el 3 de Oct. de 2013
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!

Respuestas (1)

Walter Roberson
Walter Roberson el 3 de Oct. de 2013
char()

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by