function mm = minmax(x)

mm = [min(x(:)) max(x(:))];
