I'm programming a digital communication system in MATLAB and I have a two chunk package, let's say a header and a body, and I'm using a different channel code for each chunk, i. e. BHC1 and BCH2. But because I'm using the same modulation for both chunks,
Rs = n_symbols / (n_symbols * n_symbol_samples / Fs) = Fs / n_symbol_samples
is the same. Computing Rc, I obtain
Rc = Rs * log2(M)
R1 = Rc * BCH1_rate R2 = Rc * BCH2_rate.
How can I compute an overall bitrate R for my system if I'm a sending this package composed of two chunks with differents channel codes?