How to compare non latin letters?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ole
am 31 Jul. 2017
Beantwortet: Andrei Bobrov
am 31 Jul. 2017
I would like to assign a number to a specific letter of name.
But the name is let say in Cyrillic 'Том'.
Now the isletter(Т) isnot a valid expression. Matlab does not understand its unicode 0442.
How to get around this ?
0 Kommentare
Akzeptierte Antwort
Andrei Bobrov
am 31 Jul. 2017
>> %cyrillic
>> 'АБВГДЖЗ' - '0'
ans =
992 993 994 995 996 998 999
>> isletter('Ж')
ans =
logical
1
in R2016b and later
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Encryption / Cryptography finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!