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 apprentice

  1. A

    Coded cooperation in wireless netwrok

    Taksali, First, it's true that the simulation takes a long time, so don't worry! To speed the simulation (but obtain less accurate results), you can decrease the number of blocks transmitted at each SNR level. Specifically, modify this line: numofBlocks = [10^5 10^5 2*10^5 3*10^5 5*10^5...
  2. A

    Coded cooperation in wireless netwrok

    Taksali, I figured it out. You need to make two modifications: First, Replace this command: RCPC = convenc(msg, trellis, puncture); with those lines: RCPC = convenc(msg, trellis); RCPC(4:4:end) = []; Second, Replace this command: punc_bit = convenc(msg, trellis, complement_puncture)...
  3. A

    Coded cooperation in wireless netwrok

    Taksali, The matlab version you are using does not support the convenc in the way it is used in the code. The m-code you have intends to call convenc in this mode: code = convenc(msg,trellis,puncpat) whereas your version of MALTAB tries to interpret it as: code = convenc(msg,trellis,initstate)...
  4. A

    Coded cooperation in wireless netwrok

    Taksali, CRC16 functions is not a standard function in matlab, and that's why you get an "undefined function" error from MATLAB. However, If you use the attached file "CRC16.M", you will get over this issue. You should put this file in the same directory of the m-file that contains that code...
  5. A

    Coded cooperation in wireless netwrok

    I have made the modification from slow to fast as I mentioned above and I compared the results. See the attached plot. In the fast fading case, the performance is better than the slow fading case. Is this something expected?
  6. A

    Coded cooperation in wireless netwrok

    The way we are simulating slow fading and fast fading is idealistic. In the slow fading case, we assume that the fading coefficient is *constant* over the codeword and it changes independently from one codeword to the other. While in the fast fading case we assume that the fading coefficient...
  7. A

    Coded cooperation in wireless netwrok

    rcpc code with matlab Change the following lines % For Slow Fading, Channel coefficients are the same over block transmission; h_10 = sqrt(1 / 2) * abs(randn + j * randn) * ones(1, N); h_20 = sqrt(1 / 2) * abs(randn + j * randn) * ones(1, N); into % For Fast Fading, Channel coefficients...

Part and Inventory Search

Back
Top