summaryrefslogtreecommitdiff
path: root/gr-msdd6000/src/python-examples/playback_samples.m
blob: 332296e72123ebf5ec3eb7bf24bd39039fbfec55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
t = read_complex_binary('msdd.dat',10000000);

fftsize=256;
w = [0:pi/fftsize:pi];

for i = 0:length(t)/fftsize
	fftdata = fft(i*fftsize:i*fftsize+fftsize);
	clear plot;
	plot(w,fftdata);
endfor

pause;