blob: 973d112a13652b5cf386d581dba513a987c75f3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
function plot_xambi_to_file(amb, filename)
[nr, nc] = size(amb);
ndoppler_bins = nr
nranges = nc
%colormap(cool(256));
%colormap(rainbow(256));
colormap(gray(1024));
%d = 10*log10(amb);
d = amb;
min(min(d))
max(max(d))
b = imagesc(d, 4.0);
saveimage(filename, b, "ppm")
endfunction;
|