matlab - modem.oqpskmod for BER -


Hello anyone can see that the modem How to use Oqpskmod BER Thanks!

  h = modem.oqpskmod y = command (h, value); G = modem.oqpskdemod (h) z = demodulate (g, y)  

Assume that I have an array that is only called a value in 1S and 0S. My question is how do I calculate BAR? That is, if my code above is correct. Based on this, you just need to calculate the number of incorrect bits and bit error rates (BER)

value is an unequal input signal and there is an output signal after the z modulation and demodulation, then you can calculate it like this:

 < Code> BER = Sum (logical (value (-) (z) ()) / number (value);  

Edit: I modify the above code after running in two codes:

  • If z There are values ​​other than 0 and 1.
  • If there is a different size than z value (i.e. line vector vs column vector).

I do not know if you are likely to come in both of these situations anytime, but better than sorry is safer. ;)


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -