Objective: To design and simulate binary baseband and passband communication systems in the presence of noise.
Description: Binary data is transmitted using antipodal rectangular pulses of duration T over an AWGN channel. The receiver is a correlation device followed by an threshold device. We also consider On-Off, Orthogonal and PSK modulation schemes.
The following constants should be set by the startup file. Use who in the matlab workspace to check if the constants are all there. Some additional constants may also be set, but you may ignore them
taxis=linspace(0,T,100); % same as [0:T/100:T]
s0 = A*ones(size(taxis)); % s0 has value A for t between 0 and T.
s0 is the desired pulse of width T. Then,
generate a signal which repeats the waveform s0 every
T seconds. The Repeating Table block in
ece359lib generates repeated copies of a signal of our
choice(see the parameters of this block).
Similarly (for antipodal signalling) generate a pulse which is the
negative of s0, and call it s1. Use another
Repeating Table block to generate a repeating signal
corresponding to s1.
To check the shape of the pulses, use the command check_s0s1
IV. Other forms of binary signaling
Remember to use the check_s0s1 function to see the actual signal shapes you are using.
s1 = sqrt(2)*A.*cos(taxis*F_CARR);
s0 = -s1;