0001 function h = montage(avw,cmap) 0002 % 0003 0004 0005 fprintf('in development, sorry'); return 0006 0007 if ~exist('cmap','var'), cmap = 'gray'; end 0008 if isempty('cmap'), cmap = 'gray'; end 0009 0010 0011 b = a(1,1); % to inherit type 0012 b(1,1) = 0; % from a 0013 b = repmat(b, [size(a,1)*size(a,3), size(a,2)*size(a,3), 1]); 0014 0015 for z =1:size(a,3), 0016 for i=1:10, 0017 b(rows+i*siz(1),cols+j*siz(2),1) = a(:,:,z); 0018 end 0019 end 0020 0021 h = imshow(b,cm);