change constellation to real QAM

This commit is contained in:
Roman Zeyde
2014-07-09 09:17:18 +03:00
parent 2e4718e0fe
commit 3870242580
3 changed files with 23 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ def constellation(y, title):
theta = np.linspace(0, 2*np.pi, 1000)
pylab.plot(y.real, y.imag, '.')
pylab.plot(np.cos(theta), np.sin(theta), ':')
points = np.array(sigproc.modulator.points)
points = np.array(sigproc.modulator.symbols)
pylab.plot(points.real, points.imag, 'o')
pylab.grid('on')
pylab.axis('equal')