Code covered by the BSD License  

Highlights from
DNA MicroArray Image Processing Case Study

image thumbnail
from DNA MicroArray Image Processing Case Study by Robert Bemis
Case study used in Biomedical and Image Processing seminars (highlights algorithm development).

r=range(x)
function r=range(x)
%RANGE Returns the range of data values.
%   R = RANGE(X)

% Copyright 2004-2010 RBemis The MathWorks, Inc. 

if nargin~=1 || nargout>1, error('USAGE: r=range(x)'), end

if nargout>0
  r=diff(limits(x));
else
  diff(limits(x))
end

Contact us at files@mathworks.com