Displaying 1 result from an estimated 1 matches for "specgram".
Did you mean:
  spectogram
  
2008 May 31
0
FFT Resampler spectrograms
...MATLAB snippet:
fnames={'chirp','perfect','block','filter'}
for k=1:length(fnames)
    fn=fnames{k};
    myfile=fopen([fn, '.fl'], 'r', 'ieee-le');
    x=fread(myfile, Inf, 'float32', 0, 'ieee-le');
    fclose(myfile);
    X=specgram(x,2048,1,kaiser(2048,14));
    spectrogram_floor=-96;
    pcolor(max(spectrogram_floor,20*log10(abs(X(end:-1:1,:)))));
    shading flat
    colorbar
    print('-dpng','-r300', [fn, '.png'])
end
['Done']
I've posted the output for the filter-based and block-based...