I tried using the command below
Fine_avg = varfun(@exp,Fine_avg,'InputVariables','mean_Fine_pearllog');
it gives the correct values, but then removes the first two column. :/
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!