Clear Filters
Clear Filters


This question is closed. Reopen it to edit or answer.

I want to know that why simulation takes more time to show it's signal constallation when the signal to noise ratio goes higher? I think it's not the issue of server/pc. Is anybody there to say about this ?

1 view (last 30 days)
I am trying to get BER for different SNR(BPSK Modulation in AWGN Channel), suddenly I noticed this things.
Hari Desanur
Hari Desanur on 29 Dec 2016
Can you provide some more information such as the version of MATLAB you are using and also some reproduction code?

Answers (1)

Hari Desanur
Hari Desanur on 5 Jan 2017
The model is set up to run forever - stop time is "inf". The two Error Rate Calculation (ERC) blocks are set up to stop simulation when 1000 errors are collected or 1e6 samples are processed, whichever happens first.
In the default set up (Eb/No = 0), the first ERC block collects 1000 errors in ~6600 samples and stops the simulation. When you increase the Eb/No value, the error rate reduces significantly. Therefore none of the ERC blocks hit 1000 errors even after processing 1e6 samples.
So, in the default case, the simulation stops after processing ~6600 samples, while in the later case the simulation continues until 1e6 samples are processed. Hence, the longer simulation time.

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!