> How should i calculate the error now? 
That pretty much depends on what /you/ want to measure -- obviously,
these bits are lost, so practically, this increases your BER.
If you want to demonstrate asymptotic behaviour, however, then you could
just increase the length of your simulation until a few bits lost at
start and end just don't matter anymore.

Greetings,
Marcus

On 06.08.2015 06:47, monika bansal wrote:
> Hii
> Thanks for your responses.
>
> The problem is this channel model is eating some initial 6 bits(3 qpsk
> symbols) and last 10 bits(5 qpsk symbols).
>  Because of this index of output symbol is different fron input which
> is resulting in error for all snr ranges.
>  You can see the output for noise_volage =0.0
>
> Input =  (0L, 0L, 2L, 3L, 1L, 2L, 1L, 1L, 2L, 3L, 0L, 1L, 0L, 1L, 1L,
> 3L, 2L, 3L, 1L, 0L, 2L, 0L, 3L, 2L, 2L, 1L, 3L, 2L, 3L, 0L, 2L, 2L,
> 0L, 1L, 2L, 3L, 3L, 0L, 2L, 2L, 0L, 2L, 3L, 3L, 2L, 2L, 3L, 0L, 0L,
> 0L, 1L, 0L, 2L, 2L, 2L, 0L, 3L, 0L, 1L, 1L, 3L, 0L, 1L, 3L, 3L, 3L,
> 0L, 0L, 2L, 0L, 1L, 1L, 0L, 2L, 3L, 2L, 2L, 3L, 2L, 3L)
>
> Output = (3L, 1L, 2L, 1L, 1L, 2L, 3L, 0L, 1L, 0L, 1L, 1L, 3L, 2L, 3L,
> 1L, 0L, 2L, 0L, 3L, 2L, 2L, 1L, 3L, 2L, 3L, 0L, 2L, 2L, 0L, 1L, 2L,
> 3L, 3L, 0L, 2L, 2L, 0L, 2L, 3L, 3L, 2L, 2L, 3L, 0L, 0L, 0L, 1L, 0L,
> 2L, 2L, 2L, 0L, 3L, 0L, 1L, 1L, 3L, 0L, 1L, 3L, 3L, 3L, 0L, 0L, 2L,
> 0L, 1L, 1L, 0L, 2L, 3L)
>
>
> Input = (0L, 1L, 0L, 2L, 0L, 1L, 1L, 3L, 2L, 3L, 3L, 1L, 0L, 2L, 2L,
> 0L, 0L, 1L, 1L, 1L, 0L, 0L, 3L, 2L, 3L, 1L, 1L, 2L, 1L, 0L, 3L, 0L,
> 0L, 0L, 3L, 0L, 3L, 2L, 1L, 0L, 3L, 1L, 3L, 1L, 1L, 3L, 1L, 2L, 0L,
> 1L, 0L, 3L, 1L, 0L, 3L, 2L, 1L, 2L, 3L, 3L, 2L, 1L, 3L, 0L, 1L, 2L,
> 3L, 3L, 0L, 0L, 0L, 2L, 3L, 3L, 1L, 3L, 3L, 1L, 0L, 3L)
>
> Output = (2L, 0L, 1L, 1L, 3L, 2L, 3L, 3L, 1L, 0L, 2L, 2L, 0L, 0L, 1L,
> 1L, 1L, 0L, 0L, 3L, 2L, 3L, 1L, 1L, 2L, 1L, 0L, 3L, 0L, 0L, 0L, 3L,
> 0L, 3L, 2L, 1L, 0L, 3L, 1L, 3L, 1L, 1L, 3L, 1L, 2L, 0L, 1L, 0L, 3L,
> 1L, 0L, 3L, 2L, 1L, 2L, 3L, 3L, 2L, 1L, 3L, 0L, 1L, 2L, 3L, 3L, 0L,
> 0L, 0L, 2L, 3L, 3L, 1L)
>
> How should i calculate the error now? 
> Should i use Delay block?
>
> On Thu, Aug 6, 2015 at 2:34 AM, Johnathan Corgan
> <johnat...@corganlabs.com <mailto:johnat...@corganlabs.com>> wrote:
>
>     On Wed, Aug 5, 2015 at 12:51 PM, Martin Braun
>     <martin.br...@ettus.com <mailto:martin.br...@ettus.com>> wrote:
>      
>
>         Try
>
>         noise_voltage = self.EbN0_to_noise_voltage(EbN0)/sqrt(2)
>
>         the original berawgn.py was already buggy, because it didn't
>         follow a
>         recent change in the noise power. I've submitted a patch, but it
>         probably won't be merged before the release cycle is reset (cf
>         
> https://github.com/gnuradio/gnuradio/compare/master...mbr0wn:digital/berawgn_fix_noisepower?expand=1).
>
>
>     ​This did get merged for 3.7.8 release.​
>      
>
>     -- 
>     Johnathan Corgan
>     Corgan Labs - SDR Training and Development Services
>     Intro to SDR Class - Aug. 31-Sep. 1, Columbia, MD
>     Intro to SDR Class - Sep. 3-4, Santa Clara, CA
>     http://corganlabs.com
>
>     _______________________________________________
>     Discuss-gnuradio mailing list
>     Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
>     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to