- store bits

git-svn-id: http://moon:8086/svn/matlab/trunk@126 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
2019-07-15 15:32:14 +00:00
parent 8d550edfd7
commit 73c53f30cb
+7 -1
View File
@@ -234,9 +234,15 @@ while ns < N
end
bits = bits';
n = 1:length(_ys);
fp = fopen("bits.dat", 'w');
for n=1:length(bits)
fprintf(fp, "%d", bits(n));
endfor
fclose(fp)
% Plot
n = 1:length(_ys);
subplot(4, 1, 1)
plot(n, _ys, '-o', smp_n, smp, 'ro'); grid;
subplot(4, 1, 2)