function picsplit
% function picsplit
%
% This displays a picture illustrating use of the command SPLIT.
% Note that this will only run in Matlab versions that support the WEB
% command (Matlab 5.0 and above).  Otherwise, visit the following web site:
% http://www.owlnet.rice.edu/~ceng301/5.html#5.2
%
% Example: >> split([.2 .3 .5],1,2:4)
%          splits stream 1 into streams 2, 3 and 4, with corresponding mass
%          fractions given by the first vector
%
% Comments/Picture: TYLC
% Comments/Picture/Program: ADD
% Last updated:  May, 1997

c=version;
d = c(1:3);
e = str2num(d);
if e<5.0
  disp('Please use browser to visit:')
  disp(' http://www.owlnet.rice.edu/~ceng301/5.html#5.2')
  return
end
d = web('http://www.owlnet.rice.edu/~ceng301/5.html#5.2');
if d!=0
  error('Error with web browser, go to http://www.owlnet.rice.edu/~ceng301/5.html#5.2');
end
