Continue to Site

# How to plot BER manually?

Status
Not open for further replies.

#### Chethan Chethu

##### Member level 1
Can any one temme how to plot BER for a 3x3 matrix input and output. I have got BER values using simulink but i need to calculate and plot manually for a small matrix input. please help me out........

Input matrix - output matrix = error matrix

Number of non zero elements in the error matrix gives you the number of errors.

Divide this number by the total number of elements in the matrix to get the BER.

Chethan Chethu

### Chethan Chethu

Points: 2
Thank you greygoo, i have another doubt regarding to IP cores.. is there any IP's in Xilinx for Vga interface with FPGA for an rgb image.?? if not can you help me with any RTL block diagram or verilog code for vga interface.??

I'm sorry. I'm not skilled in Verilog/VHDL.

thank you for d help in BER.. But wat bout the formula BER= erfc(sqrt(Eb/No))..?? how do we calculate using dat formula.? what is d errorfunction(erfc) in dat.?

I'm sorry. I'm not skilled in Verilog/VHDL.

thank you for d help in BER.. But wat bout the formula BER= erfc(sqrt(Eb/No))..?? how do we calculate using dat formula.? what is d errorfunction(erfc) in dat.? plzz...

Using the erfc for calculating BER is just theoretical. You don't need to run a Tx-Rx MATLAB simulation for that. Also, it depends on what modulation scheme you are using.

ok thank you greygoo, how bout PSNR calculations for a matrix, eg: 3x3 matrix(input and output)..?? n wat is the concept regarding AWGN(white noise)..?? do they use any pseudo random generators to generate the noise.??

Using the erfc for calculating BER is just theoretical. You don't need to run a Tx-Rx MATLAB simulation for that. Also, it depends on what modulation scheme you are using.

ok thank you greygoo, how bout PSNR calculations for a matrix, eg: 3x3 matrix(input and output)..?? n wat is the concept regarding AWGN(white noise)..?? do they use any pseudo random generators to generate the noise.??

For communications purposes, you usually use SNR and not PSNR. For AWGN, you can use the awgn() function of MATLAB and in which case you get to specify your SNR.

Status
Not open for further replies.