Ascii to char conversion and vice versa

6 次查看(过去 30 天)
How do I get the ASCII value of a character and vice versa?

回答(1 个)

Manvi Goel
Manvi Goel 2019-6-7
You can get the ascii values of a character by
double('a')
and character value to ascii by
char(97)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by