Tutorials/k0SDR/Tutorial04a: fReconFDSignal.m

File fReconFDSignal.m, 240 bytes (added by nilanjan, 9 years ago)
Line 
1function signal_2d = fReconFDSignal(signal_1d, bins=256)
2
3 signal_2d = reshape(signal_1d, 256, length(signal_1d) / bins).';
4 signal_2d = abs(fft(signal_2d, bins,2));
5
6 imagesc(10*log(sqrt(signal_2d)/1000),[-110 -50])
7 colorbar
8
9endfunction