11 lines
No EOL
208 B
Matlab
11 lines
No EOL
208 B
Matlab
function flicker(X,fps)
|
|
figure;
|
|
colormap gray;
|
|
axis image;
|
|
while 1
|
|
for i=1:size(X,1);
|
|
imagesc(squeeze(X(i,:,:))); drawnow;
|
|
pause(1/fps);
|
|
end
|
|
end
|
|
end |