Houston, we have a trunk.
[debian/gnuradio] / gr-radar / src / lib / plot_xambi_to_file.m
1 function plot_xambi_to_file(amb, filename)
2   [nr, nc] = size(amb);
3   ndoppler_bins = nr
4   nranges = nc
5
6   %colormap(cool(256));
7   %colormap(rainbow(256));
8   colormap(gray(1024));
9
10   %d = 10*log10(amb);
11   d = amb;
12   min(min(d))
13   max(max(d))
14   b = imagesc(d, 4.0);
15   saveimage(filename, b, "ppm")
16
17 endfunction;