import matplotlib.pyplot as plt
from sk_dsp_comm.sigsys import nrz_bits2
from sk_dsp_comm.sigsys import m_seq
from numpy import arange
x,b = nrz_bits2(m_seq(5),10)
t = arange(len(x))
plt.ylim([-1.01, 1.01])
plt.plot(t,x)
