I have created a DATASET object. I would like to change the variable or observation names of this dataset. The code I use to create the DATASET object is from the documentation for the DATASET constructor:
load fisheririsNumObs = size(meas,1);NameObs = strcat({'Obs'},num2str((1:NumObs)','%-d'));iris = dataset({nominal(species),'species'},... {meas,'SL','SW','PL','PW'},... 'ObsNames',NameObs);
Best Answer