blob: 3fae47b4ea1d28d0f4f98714f4a54e5ccd50f0a7 (
plain)
1
2
3
4
5
6
7
|
# Read echos from file into array
function echos = read_echos(filename, len, drop)
e = read_complex_binary(filename);
n = length(e)/len-drop;
start = drop*len+1;
echos = reshape(e(start:end), len, n).';
endfunction
|