visioner code changing string

1 visualización (últimos 30 días)
yuval ohayon
yuval ohayon el 11 de Ag. de 2018
Comentada: Walter Roberson el 11 de Ag. de 2018
hi,can anyone help me with a visiner cose.its a code that change the string with 2 letters up (lets say 'abcd') to 'cdef' in old fashion for loop like in c++ thank for your help.

Respuestas (1)

Star Strider
Star Strider el 11 de Ag. de 2018
Letters in MATLAB (and most other languages) are represented by numeric values. Since this is homework, we only give hints, so the one I leave you with is the char (link) function.

Categorías

Más información sobre Startup and Shutdown 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