You can assign new values to a matrix at any time. The following statements create a numeric matrix named a
, then redefine a
to be a character matrix:
a = {1 2 3, 6 5 4};
a = {'Sales' 'Marketing' 'Administration'};
Copyright © SAS Institute Inc. All Rights Reserved.