Understanding the SAS/IML Language


Reassigning Values

You can assign new values to a matrix at any time. The following statements create a $2 \times 3$ numeric matrix named a, then redefine a to be a $1 \times 3$ character matrix:

a = {1 2 3, 6 5 4};
a = {'Sales' 'Marketing' 'Administration'};