% Call STATSHANDLE to get function handle.
% Note that input here does not matter.
[temp1,temp2,fhand] = statshandle(1:5);

% Evaluate function handle for values 1:50.
vec = 1:50;
ourmean_avg = feval(fhand, vec)

% Get information about function handle.
functions(fhand)