span>);
0039 <span class="keyword">elseif</span> bcc_init
0040     reset(vit_dec);
0041 <span class="keyword">end</span>
0042 
0043 <span class="comment">% Select Viterbi decoder depuncturing pattern according to code-rate</span>
0044 <span class="keyword">switch</span> r_num
0045     <span class="keyword">case</span> 2
0046         punct_pat = logical([1 1 1 0]);
0047         f = 2*2/3;
0048     <span class="keyword">case</span> 3
0049         punct_pat = logical([1 1 1 0 0 1]);
0050         f = 2*3/4;
005