Professional Documents
Culture Documents
(EC-312)
Assignment-04
B. Tech 5th Semester: Academic Year 2023-24
Submitted by
To
This research paper investigates the efficacy of Asynchronous Code Division Multiple Access
(ACDMA) signal detection in the presence of Gaussian noise. Employing MATLAB as the
computational platform, the study focuses on the implementation of a matched filter
receiver and a decorrelator for signal enhancement in challenging noise conditions. The
theoretical foundation of ACDMA, spread spectrum communication, and the role of
matched filtering and decorrelation are expounded. The MATLAB simulation is designed to
provide practical insights into the performance of these techniques. Results from the
simulation demonstrate the viability of the proposed approach in improving Signal-to-Noise
Ratio (SNR) and minimizing interference, showcasing its applicability in real-world
communication scenarios.
KEYWORDS: ACDMA, Gaussian noise, matched filter receiver, decorrelator, spread spectrum,
Signal-to-Noise Ratio, wireless communication, MATLAB simulation.
PROGRAM:
clc;
clear all;
close all;
% Parameters
K = 8; % Number of users
N = 31; % Length of the CDMA sequence
M = 10000; % Number of bits
bsize = 1000; % Block size
nblocks = 50; % Number of blocks
Nb = M / bsize; % Number of blocks
% User-1 sequence
LS = inv(R1) * S'; % Least-Squares detector
B = [];
T = [];
R = [];
% Preallocate
A1 = 1; % User 1 amplitude (fixed)
A2 = A1; % User 2 relative amplitude
A3 = A1;
A4 = A1;
A5 = A1;
A6 = A1;
A = eye(K); % Diagonal matrix of amplitudes
H = S * A; % Channel matrix
for i = 1:length(snr)
var = 1 / snr(i);
err1 = 0;
err2 = 0;
% Block processing
for k = 1:nblocks
% Generate Gaussian noise and user data matrix
W = sqrt(var) * randn(N, bsize);
B = randsrc(K, bsize);
% Matched filter
z1 = s1' * R;
b1emf = sign(A1 * z1);
err1 = err1 + sum(b1emf ~= B(1, :));
% LS Decorrelator
z2 = LS * R;
b1ed = sign(A1 * z2);
err2 = err2 + sum(b1ed(1, :) ~= B(1, :));
end
toc;
% Plot results
figure;
semilogy(snr_db, ber1, '-r*');
hold on;
semilogy(snr_db, ber2, '-bd');
grid on;
xlabel('SNR (dB)');
ylabel('BER');
title('CDMA Receiver Performance');
legend('Matched Filter', 'LS Decorrelator');
Conclusion: It contributes to the understanding and practical application of ACDMA signal
detection techniques in the context of Gaussian noise.
Leveraging MATLAB's capabilities for signal processing and simulation, the study provides
valuable insights into the effectiveness of the matched filter receiver and decorrelator,
underscoring their importance in enhancing signal detection performance in challenging
communication environments.