How to compare non latin letters?

1 回表示 (過去 30 日間)
Ole
Ole 2017 年 7 月 31 日
回答済み: Andrei Bobrov 2017 年 7 月 31 日
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 Center および File ExchangeLogical についてさらに検索

タグ

タグが未入力です。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by