我需要对多用户检测的MATLAB代码的STBC - OFDM

W

wyldgg

Guest
嗨!每个人
我是一名研究生,我刚才写一些MATLAB代码对ZF在的STBC - OFDM多用户检测。但是当我完成了空时分组码编码,信号经过768,16多antenna.my代码是:
明确;
k = 2时;%的用户数
新台币= 4;发射天线
星期日= 2;接收天线
m等于1280;%位

co_time = 10;
carrier_count = 128;%子载波
Eb_N0_dB = [0时09];%符号/运营商
帧=男/ carrier_count;
cp_length = carrier_count / 4;
addprefix_length = carrier_count cp_length;

信号=兰特(金,男)“0.5;
M_signal = 2 *信号- 1;%BPSK调制0 - “-1; 1 - ”0

user1sigpara(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

=重塑(M_signal(1,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

,carrier_count,车架);
user2sigpara(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

=重塑(M_signal(2,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

,carrier_count,车架);
user1send1(:,1:2:帧)= user1sigpara(:,1:2:帧);%空时码
user1send1(:,2:2:帧)=-连词(user1sigpara(:,2:2:帧));
user1send2(:,1:2:帧)= user1sigpara(:,2:2:帧);
user1send2(:,2:2:帧)=连词(user1sigpara(:,1:2:帧));
user2send1(:,1:2:帧)= user2sigpara(:,1:2:帧);
user2send1(:,2:2:帧)=-连词(user2sigpara(:,2:2:帧));
user2send2(:,1:2:帧)= user2sigpara(:,2:2:帧);
user2send2(:,2:2:帧)=连词(user2sigpara(:,1:2:帧));user1signal_1 =的IFFT(user1send1);%的IFFT
user1signal_2 =的IFFT(user1send2);
user2signal_1 =的IFFT(user2send1);
user2signal_2 =的IFFT(user2send2);

user1signal_1cp = [user1signal_1(carrier_count - cp_length 1:carrier_count,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

; user1signal_1];
user1signal_2cp = [user1signal_2(carrier_count - cp_length 1:carrier_count,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

; user1signal_2];
user2signal_1cp = [user2signal_1(carrier_count - cp_length 1:carrier_count,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

; user2signal_1];
user2signal_2cp = [user2signal_2(carrier_count - cp_length 1:carrier_count,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

; user2signal_2];

user1signal_1chuan(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

=重塑(user1signal_1cp(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

1,addprefix_length *帧);
user1signal_2chuan(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

=重塑(user1signal_2cp(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

1,addprefix_length *帧);
user2signal_1chuan(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

=重塑(user2signal_1cp(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

1,addprefix_length *帧);
user2signal_2chuan(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

=重塑(user2signal_2cp(:,

<img src="http://www.edaboard.com/images/smiles/icon_smile.gif" alt="微笑" border="0" />

1,addprefix_length *帧);
但刚才,Idon't知道如何编写多径瑞利信道以及如何获取接收到的信号。请一些advice.thank你!

 

Welcome to EDABoard.com

Sponsor

Back
Top