How to compare non latin letters?

1 vue (au cours des 30 derniers jours)
Ole
Ole le 31 Juil 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 ?

Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 31 Juil 2017
>> %cyrillic
>> 'АБВГДЖЗ' - '0'
ans =
992 993 994 995 996 998 999
>> isletter('Ж')
ans =
logical
1
in R2016b and later

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by