Jeng_TCE
Newbie level 3
snr eb
what are the equation to explain relation about Eb/n0 Vs SNR (DQPSK modulation) ?
Thank you.
Added after 59 minutes:
%%Trasmit Signal
M = 4; % Use DQPSK in this example, so M is 4.
x = randint(5000,1,M); % Random data
tx = dpskmod(x,M,pi/4); % Modulate using a nonzero initial phase.
%%Generate channel
chan=rayleighchan(1/10000,268.67,[0 10^-6],[0 1]);
%%Pass signal on channel
y=filter(chan,tx);
%%Receive
SNR = 0:2:40; % Range of SNR values, in dB.
for n = 1:length(SNR)
rxSig = awgn(y,SNR); % Add Gaussian noise.
rx = dpskdemod(rxSig,M); % Demodulate.
end
%BER calculation
i cannot find BER from this code.
Can enyone help me to Find BER from this code?
what are the equation to explain relation about Eb/n0 Vs SNR (DQPSK modulation) ?
Thank you.
Added after 59 minutes:
%%Trasmit Signal
M = 4; % Use DQPSK in this example, so M is 4.
x = randint(5000,1,M); % Random data
tx = dpskmod(x,M,pi/4); % Modulate using a nonzero initial phase.
%%Generate channel
chan=rayleighchan(1/10000,268.67,[0 10^-6],[0 1]);
%%Pass signal on channel
y=filter(chan,tx);
%%Receive
SNR = 0:2:40; % Range of SNR values, in dB.
for n = 1:length(SNR)
rxSig = awgn(y,SNR); % Add Gaussian noise.
rx = dpskdemod(rxSig,M); % Demodulate.
end
%BER calculation
i cannot find BER from this code.
Can enyone help me to Find BER from this code?