📄 showd.m
字号:
function ShowD( Ptemp )
%UNTITLED1 Summary of this function goes here
% Detailed explanation goes here
[u,v,w]=size(Ptemp);
for wi=1:w
P=Ptemp(:,:,wi);
disp(sprintf('S%d开始:\n',wi));
for ui=1:u
P2=P(ui,:);
subtemp=find(P2==wi);
P2(subtemp(1)+1:end)=0;
P2(find(P2==0))=[];
P2=fliplr(P2);
P3=num2str(P2);
P4=strrep(P3,' ',' >');
disp(sprintf('\t到A%d :',ui));
disp(sprintf('\t%s',P4));
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -