MATLAB: Renaming variables from the parameter list to “_1”.

renamevariables

Input list: ParameterList = {A, B, C,…}; % picks up all the parameters from the dataset
Output ParameterList_New = {A_1, B_1, C_1,…)
If we can remove the old list, ParameterList, that would be great.
-Ferdinand

Best Answer

  • ParameterList = strcat(ParameterList, '_1');