资源简介

matlab mimo code for noma easy and el;aborated

资源截图

代码片段和文件信息

clear all%function [p1 p2] = fund_mac(Kct)
            
M=6; K=3; snrdb=[0 : 5 : 30];  

 
   Rate1=1; Rate2=4;   ct=5000; 
for k = 1: length(snrdb)
    snr = 10^(snrdb(k)/10); ep1 = 2^Rate1-1; ep2 = 2^Rate2-1; Ptarget = 1- exp(-2*ep1/snr);
    a2 = (1+ep1/snr/log(1-Ptarget))/(1+ep1); a1=1-a2;
 sum1=0; sum2=0; sum3=0; sum4=0; sum5=0; sum6=0;sum7=0; sum8=0; sum9=0;
  
    Ptarget1 = 1- exp(-2*ep1/snr);% Ptarget2 = 1- exp(-2*ep2/snr); Ptarget3 = 1- exp(-2*ep3/snr);
    a2 = (1+ep1/snr/log(1-Ptarget1))/(1+ep1); a1=1-a2;
    %b2 = (1+ep2/snr/log(1-Ptarget2))/(1+ep2); b1=1-b2;
    %c2 = (1+ep3/snr/log(1-Ptarget3))/(1+ep3); c1=1-c2;
  for i = 1 :ct       
         H1=complex(sqrt(0.5)*randn(KM)sqrt(0.5)*randn(KM));
         H2=complex(sqrt(0.5)*randn(KM)sqrt(0.5)*randn(K

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      16077  2016-02-10 17:13  figure_comp1_v2.fig

     文件        723  2016-02-10 17:54  data_com_oma2.mat

     文件        747  2016-02-10 17:09  data_com1.mat

     文件        856  2016-02-10 02:04  data_policy_I_u1_1.mat

     文件        871  2016-02-10 02:06  data_policy_I_u1_2.mat

     文件       1086  2016-02-10 22:08  data_policy_I_u2_1.mat

     文件        817  2016-02-10 02:25  data_policy_II_u1_1.mat

     文件        824  2016-02-10 02:29  data_policy_II_u1_2.mat

     文件        505  2016-02-11 02:32  data_policy_II_u2_2_1.mat

     文件        481  2016-02-11 02:36  data_policy_II_u2_2_2.mat

     文件        495  2016-02-11 02:45  data_policy_II_u2_2_3.mat

     文件        503  2016-02-11 02:46  data_policy_II_u2_2_4.mat

     文件      16090  2016-02-10 17:21  figure_comp_oma1.fig

     文件      16186  2016-02-10 20:19  figure_comp_oma2.fig

     文件      16242  2016-02-10 16:49  figure_comp1.fig

     文件       2466  2016-02-11 02:42  QR_NOMA_u2_policy_II.m

     文件       1269  2016-02-10 20:37  test1.m

     文件       2975  2016-02-12 20:46  NOMA_compare_policy_I_OMA.m

     文件      17602  2016-02-11 14:44  policy.eps

     文件       1600  2016-02-10 02:05  QR_NOMA_u1_policyI.m

     文件       2417  2016-02-10 02:25  QR_NOMA_u1_policyII.m

     文件       2746  2016-02-11 02:37  QR_NOMA_u2_policy_I.m

----------- ---------  ---------- -----  ----

               103578                    22


评论

共有 条评论