function y=avg0(x)           % avg0.m
  y=sum(x)/length(x);
end
