Matched Filter Integration in MATLAB

5 views (last 30 days)
S. David
S. David on 7 May 2014
Commented: S. David on 12 May 2014
Hello all,
In a communication system I have the following received signal:
v(t)=\sum_{k=0}^{K-1}s_k P_k(t)+w(t)
where w(t) is additive white Gaussian noise (AWGN) process of zeros mean and power spectral (PSD) density N0.
The matched filter receiver in this case is given by:
v_n=\int P_n^*(t) v(t) dt =(some constant) \int_{nTs}^{(n+1)*Ts}v(t) dt, for n=0,...,N-1
where ()* is complex conjugation, the vector t=0:Ta:(K-1)*Ta, Ta=Ts/nsamp where nsamp is the number of samples per symbol. The resultant vector must be of size N-by-1 where K=N*nsamp.
The question is how to implement the integration in the most right hand side of v_n? I did it as following:
for nn=0:N-1
z(nn)=sum(v(nn*nsampl+1:(nn+1)*nsampl))*Ta;
end
but I am not sure if this implementation is correct. What do you think?
Thanks in advance

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by