visioner code changing string
Afficher commentaires plus anciens
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.
Réponses (1)
Star Strider
le 11 Août 2018
0 votes
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.
1 commentaire
Walter Roberson
le 11 Août 2018
hint:
'abcd'+2
Catégories
En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!