Letter refer to number
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Joep
el 13 de En. de 2016
Respondida: C.J. Harris
el 13 de En. de 2016
I did use A B C D E F ... for 1 2 3 4 5 6 .... with the following code:
Nr=[1 2 3 4 5 6];
Letter=char(Nr+'A'-1);
Letter =
ABCDEF
But now i want to get back the originals number instead of the corresponding letters (Nr is not avaible anymore).
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Type Conversion en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!