Non-return to zero conversion from random binary bits

2 views (last 30 days)
Hello,
I am working on QPSK TX, in the process I need to creat NRZ data but not sure how to do so...can anyone help, pls?
BR MJ
clear all;
clc;
N= 100 ;
p = 0.5;
RandomBinaryData1= randperm(N) > (N*p);
nr_symbols=RandomBinaryData1/2
%Serial to Parallel bits
oddBits = RandomBinaryData1(1:2:end);
evenBits= RandomBinaryData1(2:2:end);

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!