% Function with Multiple Outputs

function [m,s] = stat(x)
 n = length(x);
 m = sum(x)/n;
 s = sqrt(sum((x-m).^2/n));
end


%%Call the function from the command line.
% values = [12.7, 45.4, 98.9, 26.6, 53.1];
% [ave,stdev] = stat(values)
