How to compare non latin letters?

2 次查看(过去 30 天)
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 ?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Encryption / Cryptography 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by