
1372 LINEAR PARTIAL DIFFERENTIAL EQUATIONS W ITH MATLAB
R
MATLAB is case sensitive; i.e., it distinguishes between lowercase and uppercase let-
ters, as in
pi
and
Pi
.
Various reserved keywords, symbols, names, and functions, for example, reserved key-
words and function names, cannot be used as variable names (see
isvarname
,
which -all
,
isreserved
,
iskeyword
).
A string variable is enclosed in single quotes and belongs to the
char
class (e.g.,
x='string'
), so that the function
sin(x)
is invalid. Strings can be used with converting,
formatting, and parsing functions (e.g., see
cellstr
,
char
,
sprintf
,
fprintf
,
strfind
,
findstr
).
MATLAB provides three basic types of v