COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### M-QAM and M-PSK

• Email
• Follow

```hi,
I need a matlab code to simulate the Bit error rate vs. Eb/No for BPSK, QPSK and 8-PSK as well as, 4-QAM, 16-QAM and 64 QAM. The modulation should be done using "qammod" and "pskmod" functions and the additive white gaussian noise should be added using "normrnd" function with zero mean and segma depending on Eb/ No.

Thank you
```
 0

See related articles to this posting

```On Apr 5, 9:46=A0pm, "Hoda El Mahallawy" <h_mahall...@yahoo.com> wrote:
> hi,
> I need a matlab code to simulate the Bit error rate vs. Eb/No for BPSK, Q=
PSK and 8-PSK as well as, 4-QAM, 16-QAM and 64 QAM. The modulation should b=
e done using "qammod" and "pskmod" functions and the additive white gaussia=
n noise should be added using "normrnd" function with zero mean and segma d=
epending on Eb/ No.
>
> Thank you

and the ususal:
what have YOU done so far to solve YOUR particular problem...

us
```
 0

```hi,
ok, I have generated a number of bits and then used a function called reshape in order to group them to do the QAM modulation or phase modulation, then for the noise I used a function called awgn, but I don't know if this gets a zero mean or what and it uses the SNR, not Eb/No and then I used QAMdemod and the same for the phase and used a function called ber to get the error, but the problem is the curves are not the ones that should be obtained and I don't know how to use normrnd for the noise. Am I working in the right direction or what should I do?
Thank you

us <us@neurol.unizh.ch> wrote in message <10faa514-9ab3-4861-97cc-95b4439473a6@o30g2000yqb.googlegroups.com>...
> On Apr 5, 9:46 pm, "Hoda El Mahallawy" <h_mahall...@yahoo.com> wrote:
> > hi,
> > I need a matlab code to simulate the Bit error rate vs. Eb/No for BPSK, QPSK and 8-PSK as well as, 4-QAM, 16-QAM and 64 QAM. The modulation should be done using "qammod" and "pskmod" functions and the additive white gaussian noise should be added using "normrnd" function with zero mean and segma depending on Eb/ No.
> >
> > Thank you
>
> and the ususal:
> what have YOU done so far to solve YOUR particular problem...
>
> us
```
 0