getRefGain.m
- fixed superpositiion of gain, time and freq references - RX: beautify plot git-svn-id: http://moon:8086/svn/matlab/trunk@45 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
+3
-3
@@ -248,16 +248,16 @@ for k=start:length(Z_)
|
||||
sym_out(:, kk) = ZZ ./ H;
|
||||
if 1
|
||||
subplot(2, 1, 1)
|
||||
plot(0:length(H)-1, abs(H)); grid; title('abs(H)'); axis([0 length(H)-1 0 15+0*max(abs(H))]); title(str);
|
||||
plot(ofdm_spec_occ.kmin:ofdm_spec_occ.kmax, abs(H)); grid; title('abs(H)'); axis([ofdm_spec_occ.kmin ofdm_spec_occ.kmax 0 15+0*max(abs(H))]); title(str);
|
||||
subplot(2, 1, 2)
|
||||
plot(0:length(H)-1, angle(H)); grid; title('phi(H)'); axis([0 length(H)-1 -4 4]); title(str);
|
||||
plot(ofdm_spec_occ.kmin:ofdm_spec_occ.kmax, angle(H)); grid; title('phi(H)'); axis([ofdm_spec_occ.kmin ofdm_spec_occ.kmax -4 4]); title(str);
|
||||
else
|
||||
hold on;
|
||||
plot(sym_out(:, kk), '+');
|
||||
hold off;
|
||||
grid; title('Sym');
|
||||
end
|
||||
pause(0.025);
|
||||
pause(0.01);
|
||||
else
|
||||
ii = [H_gain_carriers_cell{1:6}]
|
||||
H = H_gain;
|
||||
|
||||
Reference in New Issue
Block a user