- store bits
git-svn-id: http://moon:8086/svn/matlab/trunk@126 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
+7
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user