2.2. Character Set

The character set is a set of characters that form a part of the statements written using the programming language. Characters can be broadly classified into four categories:

  1. Alphabets

  2. Numerals

  3. Special characters

  4. White space characters

MATLAB recognizes all 26 alphabets of the English language. Further, it is case sensitive, that is ‘A’ (uppercase) and ‘a’ (lowercase) alphabets are recognized as different characters. Numerals 0–9 also form part of its character set. The special characters including the escape sequence characters form part of the character set. White space characters like tab, blank, new line, vertical tab and line-feed are also included in the character set.

Get MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.