You are on page 1of 2

EXPERIMENT NO- 2

Aim:- Simulation of convolution code using simulink. Required tool: MATLAB 7.3.0(R2006b)

Bernoulli Binary Generator: Iin the Comm Source library Set Probability of a zero to 0.5. Set initial seed 25741 Check the Fram based output check box Set samples per frame to 10000

Convolution Encoder: with Trellis structure poly2trellis(7, [171 133]) Operation mode continuous.

AWGN: Initial seed 1237 Mode signal to noise ratio(Eb/No)

Eb/No= -1dB Number of bits per symbol 1 Input power 1 Symbol period 0.5

Viterbi decoder: Trellis structure poly2trellis(7, [171 133]) Decision type soft decision No of soft decision bit 3 Traceback depth 48 Operation mode continuous

Error rate calculation: in the Comm Sink library, Received delay 48 Computation delay 0 Computation mode entire fram Output data port Target no of error 100 Maximum no of symbol 1e6.

Display: format short, decimation 1.

RESULT: Simulation time= 10000 Error rate= 0.501 No of error= 9996 Comparison= 1.995e+004

You might also like