-
Notifications
You must be signed in to change notification settings - Fork 1
/
OTFS_QRD_Figure.m
142 lines (134 loc) · 5.4 KB
/
OTFS_QRD_Figure.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
close all;clear;
linewidth = 1.5;
figure
load('OTFS_4QAM_MN16x8_10_2_20_MP.mat')
semilogy(SNR_dB, err_ber_fram,'k--o','LineWidth',linewidth);
hold on
load('OTFS_4QAM_MN16x8_10_2_20_ZF.mat')
semilogy(SNR_dB, err_ber_fram,'k-+','LineWidth',linewidth);
load('OTFS_4QAM_MN16x8_10_2_20_ZFSIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--d','LineWidth',linewidth);
load('OTFS_4QAM_MN16x8_10_2_20_MMSESIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--*','LineWidth',linewidth);
load('OTFS_4QAM_MN16x8_10_2_20_SQRD_ZFSIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-d','LineWidth',linewidth);
load('OTFS_4QAM_MN16x8_10_2_20_SQRD_MMSESIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-*','LineWidth',linewidth);
hold off
title(sprintf('4QAM BER with N=8,M=16'))
ylabel('BER'); xlabel('SNR in dB');grid on
legend('MP','ZF','ZF-SIC','MMSE-SIC','ZF-SQRD-SIC','MMSE-SQRD-SIC');
set(gcf,'Color','none');
set(gca, 'FontName', 'Arial')
export_fig 4QAM_16x8.eps
export_fig 4QAM_16x8.pdf
figure
load('OTFS_16QAM_MN16x8_10_2_20_MP.mat')
semilogy(SNR_dB, err_ber_fram,'k--o','LineWidth',linewidth);
hold on
load('OTFS_16QAM_MN16x8_10_2_20_ZF.mat')
semilogy(SNR_dB, err_ber_fram,'k-+','LineWidth',linewidth);
load('OTFS_16QAM_MN16x8_10_2_20_ZFSIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--d','LineWidth',linewidth);
load('OTFS_16QAM_MN16x8_10_2_20_MMSESIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--*','LineWidth',linewidth);
load('OTFS_16QAM_MN16x8_10_2_20_SQRD_ZFSIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-d','LineWidth',linewidth);
load('OTFS_16QAM_MN16x8_10_2_20_SQRD_MMSESIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-*','LineWidth',linewidth);
hold off
title(sprintf('16QAM BER with N=8,M=16'))
ylabel('BER'); xlabel('SNR in dB');grid on
legend('MP','ZF','ZF-SIC','MMSE-SIC','ZF-SQRD-SIC','MMSE-SQRD-SIC');
set(gcf,'Color','none');
set(gca, 'FontName', 'Arial')
export_fig 16QAM_16x8.eps
export_fig 16QAM_16x8.pdf
figure
load('OTFS_64QAM_MN16x8_20_2_30_MP.mat')
semilogy(SNR_dB, err_ber_fram,'k--o','LineWidth',linewidth);
hold on
load('OTFS_64QAM_MN16x8_20_2_30_ZF.mat')
semilogy(SNR_dB, err_ber_fram,'k-+','LineWidth',linewidth);
load('OTFS_64QAM_MN16x8_20_2_30_ZFSIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--d','LineWidth',linewidth);
load('OTFS_64QAM_MN16x8_20_2_30_MMSESIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--*','LineWidth',linewidth);
load('OTFS_64QAM_MN16x8_20_2_30_SQRD_ZFSIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-d','LineWidth',linewidth);
load('OTFS_64QAM_MN16x8_20_2_30_SQRD_MMSESIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-*','LineWidth',linewidth);
hold off
title(sprintf('64QAM BER with N=8,M=16'))
ylabel('BER'); xlabel('SNR in dB');grid on
legend('MP','ZF','ZF-SIC','MMSE-SIC','ZF-SQRD-SIC','MMSE-SQRD-SIC');
set(gcf,'Color','none');
set(gca, 'FontName', 'Arial')
export_fig 64QAM_16x8.eps
export_fig 64QAM_16x8.pdf
figure
load('OTFS_4QAM_MN8x8_10_2_20_MP.mat')
semilogy(SNR_dB, err_ber_fram,'k--o','LineWidth',linewidth);
hold on
load('OTFS_4QAM_MN8x8_10_2_20_ZF.mat')
semilogy(SNR_dB, err_ber_fram,'k-+','LineWidth',linewidth);
load('OTFS_4QAM_MN8x8_10_2_20_ZFSIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--d','LineWidth',linewidth);
load('OTFS_4QAM_MN8x8_10_2_20_MMSESIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--*','LineWidth',linewidth);
load('OTFS_4QAM_MN8x8_10_2_20_SQRD_ZFSIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-d','LineWidth',linewidth);
load('OTFS_4QAM_MN8x8_10_2_20_SQRD_MMSESIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-*','LineWidth',linewidth);
hold off
title(sprintf('4QAM BER with N=8,M=8'))
ylabel('BER'); xlabel('SNR in dB');grid on
legend('MP','ZF','ZF-SIC','MMSE-SIC','ZF-SQRD-SIC','MMSE-SQRD-SIC');
set(gcf,'Color','none');
set(gca, 'FontName', 'Arial')
export_fig 4QAM_8x8.eps
export_fig 4QAM_8x8.pdf
figure
load('OTFS_16QAM_MN8x8_10_2_20_MP.mat')
semilogy(SNR_dB, err_ber_fram,'k--o','LineWidth',linewidth);
hold on
load('OTFS_16QAM_MN8x8_10_2_20_ZF.mat')
semilogy(SNR_dB, err_ber_fram,'k-+','LineWidth',linewidth);
load('OTFS_16QAM_MN8x8_10_2_20_ZFSIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--d','LineWidth',linewidth);
load('OTFS_16QAM_MN8x8_10_2_20_MMSESIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--*','LineWidth',linewidth);
load('OTFS_16QAM_MN8x8_10_2_20_SQRD_ZFSIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-d','LineWidth',linewidth);
load('OTFS_16QAM_MN8x8_10_2_20_SQRD_MMSESIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-*','LineWidth',linewidth);
hold off
title(sprintf('16QAM BER with N=8,M=8'))
ylabel('BER'); xlabel('SNR in dB');grid on
legend('MP','ZF','ZF-SIC','MMSE-SIC','ZF-SQRD-SIC','MMSE-SQRD-SIC');
set(gcf,'Color','none');
set(gca, 'FontName', 'Arial')
export_fig 16QAM_8x8.eps
export_fig 16QAM_8x8.pdf
figure
load('OTFS_64QAM_MN8x8_20_2_30_MP.mat')
semilogy(SNR_dB, err_ber_fram,'k--o','LineWidth',linewidth);
hold on
load('OTFS_64QAM_MN8x8_20_2_30_ZF.mat')
semilogy(SNR_dB, err_ber_fram,'k-+','LineWidth',linewidth);
load('OTFS_64QAM_MN8x8_20_2_30_ZFSIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--d','LineWidth',linewidth);
load('OTFS_64QAM_MN8x8_20_2_30_MMSESIC.mat')
semilogy(SNR_dB, err_ber_fram,'k--*','LineWidth',linewidth);
load('OTFS_64QAM_MN8x8_20_2_30_SQRD_ZFSIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-d','LineWidth',linewidth);
load('OTFS_64QAM_MN8x8_20_2_30_SQRD_MMSESIC.mat');
semilogy(SNR_dB, err_ber_fram,'k-*','LineWidth',linewidth);
hold off
title(sprintf('64QAM BER with N=8,M=8'))
ylabel('BER'); xlabel('SNR in dB');grid on
legend('MP','ZF','ZF-SIC','MMSE-SIC','ZF-SQRD-SIC','MMSE-SQRD-SIC');
set(gcf,'Color','none');
set(gca, 'FontName', 'Arial')
export_fig 64QAM_8x8.eps
export_fig 64QAM_8x8.pdf