Representation of a binary communication channel
Afficher commentaires plus anciens
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 commentaire
Matt Fig
le 20 Oct 2012
What have you done so far?
Réponses (0)
Catégories
En savoir plus sur Waveform Generation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!