Professional Documents
Culture Documents
There are many different data types or Classes in MATLAB.
There are 15 fundamental classes in MATLAB. Each of these classes is in the form of a
matrix or array. This matrix or array is a minimum of 0-by-0 in size and can grow to an n-
dimensional array of any size.
The encircled data types are fundamental data types.
uÊ By default every variable is floating type with double precision (8 byte). The 52 bits
are reserved for mantissa part.
uÊ 0e can convert from one data type to another by using these classes. eg
a = 45;
i
iell Arrays Ê iells store arrays of varying classes and sizes.
Ê Allows freedom to package data as you want.
Ê Manipulation of elements is similar to arrays.
Ê Simple method of passing function arguments.
Ê Use in comma-separated lists for efficiency.
Ê More memory required for overhead