
484 A Computational Introduction to Digital Image Processing, Second Edition
MATLAB/Octave
>> whos
Name Size Bytes Class
a 1x1 8 double array
ans 1x1 8 double array
b 1x1 8 double array
Grand total is 3 elements using 24 bytes
Note also that
ans
is variable: it is automatically created by MATLAB to store the result
of the last calculation. A listing of the variable names only is obtained using
who
:
MATLAB/Octave
>> who
Your variables are:
a ans b
The numeric date type double is MATLAB’s standard for numbers; such numbers are
stored as double-precision 8-byte values.
Other data types will be discussed next.
A.4 Dealing with Matrices
MATLAB and Octave have an enormous ...