how to make Ascii 7 bit in matlab

Answers (1)

James Tursa
James Tursa on 8 May 2020
Edited: James Tursa on 8 May 2020
MATLAB uses ASCII for encoding characters. So you can just do this to get the characters:
ASCII = char(0:127);

3 Comments

"MATLAB® stores all characters as Unicode® characters using the UTF-16 encoding..."
For the lower 128, this is just the ASCII table that OP wants ... at least I think that's what was asked. Not quite sure.
I do not recall at the moment where I saw it, but a few weeks ago I encountered part of MATLAB that used UTF-32.

Sign in to comment.

Asked:

on 8 May 2020

Commented:

on 8 May 2020

Community Treasure Hunt

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

Start Hunting!