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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by