Robochameleon  v1.0
lims.m
1 function l = lims(x)
2 
3 if ~isvector(x)
4  error('Only works with vectors');
5 end
6 
7 l = [min(x) max(x)];