You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -132,6 +130,18 @@ function hardConstellation!(qamThres,M, qamMat)
132
130
return qamThres;
133
131
end
134
132
133
+
"""
134
+
---
135
+
Quadrature Amplitude Modulation (QAM) hard decoding function
136
+
Return the hard decoded constellation with voronoi baseds decision. The difference with bitDeMapping is that bitDeMapping returns the decoded bit sequence whereas hardConstellation returns the closest constellation point. This can be use to compute raw EVM estimation (assuming a sufficiently high SNR to avoid errors).
137
+
# --- Syntax
138
+
qamDec = hardConstellation!(qamDec,M,qamMat)
139
+
# --- Input parameters
140
+
- M : Constellation size (i.e 4 to 256)
141
+
- qamMat : Vector to decode
142
+
# --- Output parameters
143
+
- qamDec : Vector to populate [Array{Complex{Float64},N}] with N = length(qamMat)
0 commit comments