Representation of a binary communication channel
Show older comments
how do I do this?
using x=rand(1,10000)<0.5
generate a vector that represents an input sequence of 0s and 1s.
Simulate the channel by writing code to do the following:
• For a 0 in the input sequence, the code should generate an output of 0
with probability .95 and an output of 1 with probability .05
• For a 1 in the input sequence, the code should generate an output of 1
with probability .90 and an output of 0 with probability .10.
1 Comment
Matt Fig
on 20 Oct 2012
What have you done so far?
Answers (0)
Categories
Find more on Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!