0001 function plotQuickSpec(starttime,endtime,chan) 0002 d = pipe_read(starttime,endtime); 0003 dat = d.antenna0.receiver.data(:,chan); 0004 N = floor(size(dat,1)/1024); 0005 dat = dat(1:N*1024); 0006 d2 = reshape(dat,1024,N); 0007 [f,y] = ffto(d2,100); 0008 figure 0009 imagesc(1:N,f(f>0),log10(abs(y(f>0,:))),[0 1]); 0010 xlabel('Time') 0011 ylabel('Frequency [Hz]') 0012 colormap('gray'); 0013 end