ABSTRACT

The commands that are introduced and the sections in which they are premiered are as follows:

class (7.1) double (7.1) single (7.1) char (7.2) { } (7.3) cell2mat (7.3) record.field (7.4)

7.1 Identifying Strings, Numbers of Different Types, and Booleans

Previous chapters made extensive use of numbers (including matrices consisting of numbers) and strings (sequences of alphabetic or numeric characters not directly usable in numerical calculations). It turns out that there are different types of numbers in MATLAB as well as other data types.