Clear Filters
Clear Filters

Ascii to char conversion and vice versa

6 views (last 30 days)
Shubhang Sati
Shubhang Sati on 7 Jun 2019
Answered: Manvi Goel on 7 Jun 2019
How do I get the ASCII value of a character and vice versa?

Answers (1)

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

Categories

Find more on Numeric Types in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!