It does sound like varfun is indeed what you need. For example, to multiply all your columns by 1.5
newtable = varfun(@(col) col*1.5, yourtable)
You can easily include or exclude some particular columns by filtering the strings returned by yourtable.Properties.VariableNames and passing that as 'InputVariables' to varfun if required.
You can also easily rename the columns in the new table, for example, to add 'Wt' to all the names
newtable.Porperties.VariableNames = compose('%sWt', string(newtable.Porperties.VariableNames));
In any case, I would advise against creating new variables, particularly using eval.
Best Answer