下面是一个Matlab程序,请给出各个输出图像结果矩阵。
A=zeros(12,12); b = ~A; figure, imshow(b); b(:,4:1:6)=0; b(:,10:1:12)=0; figure,imshow(b); c=b’; figure,imshow(c);
A=zeros(12,12); b = ~A; figure, imshow(b); b(:,4:1:6)=0; b(:,10:1:12)=0; figure,imshow(b); c=b’; figure,imshow(c);
答案:没看懂你的意思啊,你的输出图像不就是由结果矩阵的来的吗?