squarerun.m
来自「Speaker Verification Toolbox」· M 代码 · 共 18 行
M
18 行
function M=SquareRun(Y)
% SYNTAX: SquareRun(Y)
% This function, which has no outputs, takes a history Y and displays it as a square image.
% It is assumed that Y is of an appropriate length, so that it can be reshaped into a square image.
% Ilya; Aug. 28, 2002
n = sqrt(size(Y,2));
imshow(reshape(Y(1,:),n,n));
iptsetpref('ImshowTruesize','manual')
truesize([500 500])
for i = 2:size(Y,1),
imshow(reshape(Y(i,:),n,n))
drawnow
%M(i-1) = getframe;
end
%movie(M)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?