clc;
clear all
close all
%写入数据到胞数组
dirname='E:\cumcm2013problems\B\附件2';
files=dir([dirname,'\*.bmp']);
Num_file=numel(files);
data=cell(1,Num_file);
for k = 1:Num_file
data{k} = imread([dirname '\' files(k).name]);
end
%***********************展示昌历猜第一次没有排烂段序的图片*****************
[M,N]=size(data{1});
all_file=zeros(M,Num_file*N);
all_file(:,1:N)=data{1};
耐型for i=2:Num_file
begin=N*(i-1)+1;
end_f=N*i;
all_file(:,begin:end_f)=data{i};
end
show_file=all_file(1:500,:);
imshow(show_file)