Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by barznjy

  1. B

    Channel gain in the Rayleigh fading

    Is it possible that the channel gain greater than one? How?
  2. B

    AF Cooperative Diversity MATLAB Code Needed

    Re: AF Cooperative Diversity MATLAB Code Here is the correct code: clear all; close all; clc; N=10^6;%Number of bits b=rand(1,N)>0.5;%Generate 0s and 1s Tx=2.*b-1;%NRZ SNRdB=0:2:30;%SNR in dB snr = 10.^(0.1 .* SNRdB); nErr = zeros(1,length(SNRdB)); for ii=1:length(SNRdB) sd =...
  3. B

    AF Cooperative Diversity MATLAB Code (Variable gain vs Fixed gain)

    Hi if I have dual hop cooperative system; S (source), R(Relay), and D (Destination). and we have H_sr , H_rd for the fading channels between source-relay and relay-destination respectively. Ps is the Source Power; Pr is the relay Power; N is the total number of bits; G is the AMPLIFICATION...
  4. B

    How to calculate the instantaneous and average channel gain?

    Hi, If I have the following Rayleigh fading channel in MatLab: h=1/sqrt(2).*(randn(s,1)+1i.*randn(s,1)) Note: s=10^6 is the number os symbols; How to find the (instantaneous) and (average) channel gain? Thanks
  5. B

    Cooperative spectrum sensing(energy detection) in cognitive radio.Matlab code

    you need inverse gamma incomplete function
  6. B

    noise and fading channel formula for QPSK

    its assumed there is no los path. for the flat fading over rayleigh channel.
  7. B

    noise and fading channel formula for QPSK

    Hi, in QPSK system: what are the matlab equations for noise and fading channel? also; what is the theoritical equation for calculating BER? this is because I see several different formula, for example: 1- N0 = 1/10^(SNR(i)/10); n = sqrt(N0/2)*(randn(1,length(sig))+1i*randn(1,length(sig)))...
  8. B

    QPSK Tx, Rx simulation, for different channels

    Hi, what is the difference between EbNo and snr? which one is commonly use? what is the equation of awgn noise? as I know ebno is the enery per bit, so in bpsk ebno and snr are the same right? and snr is signal energy (symbol energy). but for qpsk we need to divide by 2, and 8psk divid by 3...
  9. B

    QPSK Tx, Rx simulation, for different channels

    Hi, I don't know if its still correct or not. clear all; close all; clc; bits=10; EbN_dB=0:2:16; EbNo=10.^(EbN_dB/10); BER = zeros(length (bits)); L = 3; for i=1:length(EbN_dB) % modulation Ti=(2.*round(randint(1,bits)))-1; Tq=(2.*round(randint(1,bits)))-1; x=Ti+1i*Tq; %generate...
  10. B

    QPSK Tx, Rx simulation, for different channels

    I tried to do it like this: but it doesn't work. clear all; close all; clc; bits=10; EbN_dB=0:2:16; EbNo=10.^(EbN_dB/10); BER = zeros(length (bits)); ht = [0.2 0.9 0.3]; for i=1:length(EbN_dB) % modulation Ti=(2.*round(randint(1,bits)))-1...
  11. B

    QPSK Tx, Rx simulation, for different channels

    Thank you very much.
  12. B

    QPSK Tx, Rx simulation, for different channels

    Dear Friends, following is the QPSK Tx, Rx matlab code for different channels. I have these questions: First: I don't understand what is mean by (Correct the phase before detection) (y=conj(h).*y;)? why we need it? how it works? in practical what is that mean? Second: In case we have...
  13. B

    hard decision-soft decision decoding

    Hard decision decoding takes a stream of bits say from the 'threshold detector' stage of a receiver, where each bit is considered definitely one or zero. Eg. for binary signaling, received pulses are sampled and the resulting voltages are compared with a single threshold. If a voltage is...

Part and Inventory Search

Back
Top