8.2.59.66 table.varfun

Method: out = varfun (fcn, obj)
Method: out = varfun (…, 'OutputFormat', outputFormat)
Method: out = varfun (…, 'InputVariables', vars)
Method: out = varfun (…, 'ErrorHandler', errorFcn)

Apply function to table variables.

Applies the given function fcn to each variable in obj, collecting the output in a table, cell array, or array of another type.