example81_formation.m

来自「是一个用MATLAB编的一个系统」· M 代码 · 共 18 行

M
18
字号

figure;
subplot(2,4,1),imshow(mat2gray(reshape(Test,L,W))),,xlabel('step=0');
q1=p(:,1)'*V';
subplot(2,4,2),imshow(mat2gray(reshape(q1,L,W))),xlabel('step=1');
q2=p(:,2)'*V';
subplot(2,4,3),imshow(mat2gray(reshape(q2,L,W))),xlabel('step=2');
q3=p(:,3)'*V';
subplot(2,4,4),imshow(mat2gray(reshape(q3,L,W))),xlabel('step=3');
q5=p(:,5)'*V';
subplot(2,4,5),imshow(mat2gray(reshape(q5,L,W))),xlabel('step=5');
q10=p(:,10)'*V';
subplot(2,4,6),imshow(mat2gray(reshape(q10,L,W))),xlabel('step=10');
q20=p(:,20)'*V';
subplot(2,4,7),imshow(mat2gray(reshape(q20,L,W))),xlabel('step=20');
q30=p(:,30)'*V';
subplot(2,4,8),imshow(mat2gray(reshape(q30,L,W))),xlabel('step=30');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?