function [lo, hi] = minmax(v) % Returns two outputs. lo = min(v); hi = max(v); end