MATLAB小程序出错了不会改,麻烦哪位高手帮忙修改下
function [x,y]=pp(ck,dq)close all
[m,n]=size(ck);
N=min(m,n);
M=N/3
S=ck(1:N,1:N);
figure
imshow(S)
T=zeros(M,M,m/M,n/M)
for i=1:m/M
for j=1:n/M
T(:,:,i,j)=dq((i-1)*M+1:i*M,(j-1)*M+1:j*M);
subplot(m/M,n/M,(i-1)*n/M+j)
imshow(T(:,:,i,j))
end
end
x=0;
y=0; %其中m=240,n=320