Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi pulsedia,
The MAP(Bayes) receiver is already implemented from your code. You may see the following criterion.
1): MAP receiver: p(s|y) = p(y|s)p(s) / p.
y = s+n.
Where s is i.i.d signal, n is i.i.d. and AWGN, and y is the received signal.
2): According to the MAP criterion, we further make one assumption to 1), <=== you can see it from your code to the "Transmitter".
3): According to 2), We can get that maximizing p(s|y) is equivalent to maximizing to p(y|s), and we define p(y|s) as maximum likelihood function.
Finally we get the hard decision receiver based on when { p(y>0), s=1 } and { p(y<0), s = 0 }.
If you want to realize MAP receiver, back to 2) and change the assumption. You may realize another receiver according to the MAP criterion.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.