Clear Filters
Clear Filters

Unipolar OOK with pammod and pamdemod?

1 view (last 30 days)
Brandon Cochenour
Brandon Cochenour on 26 Jun 2018
Answered: Scout Patel on 7 Apr 2021
I'm trying to simulate unipolar OOK signalling.
It looks like the 'default' is for a Euclidian distance of 2. So for 2-PAM, the symbols are -1 and 1. I can change the transmit symbols after the fact to 0 and 1, no problem. But it looks like pamdemod is making demodulation decisions assuming -1 and 1...making the BER calculation wrong.
Is it possible to "trick" the pamdemod into dealing with unipolar symbols?

Answers (1)

Scout Patel
Scout Patel on 7 Apr 2021
Yes - use "Complex to real" and "Bias" (i.e. add 1) for transmit and Bias (i.e. subtract 1) and "Real to complex" for receive.

Community Treasure Hunt

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

Start Hunting!