MATLAB Answers

how to make Ascii 7 bit in matlab

14 views (last 30 days)
Shehab Tarek
Shehab Tarek on 8 May 2020
Commented: Walter Roberson on 8 May 2020
i want to make ascii table to code the char

  0 Comments

Sign in to comment.

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

Stephen Cobeldick
Stephen Cobeldick on 8 May 2020
"MATLAB® stores all characters as Unicode® characters using the UTF-16 encoding..."
James Tursa
James Tursa on 8 May 2020
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.
Walter Roberson
Walter Roberson on 8 May 2020
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.


Translated by