visioner code changing string

2 Ansichten (letzte 30 Tage)
yuval ohayon
yuval ohayon am 11 Aug. 2018
Kommentiert: Walter Roberson am 11 Aug. 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.

Antworten (1)

Star Strider
Star Strider am 11 Aug. 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.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by