⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rey.m

📁 Alamouti编码的编解码仿真实现
💻 M
字号:
function H=rey(Nt,Nr)

%This function builds a matrix of Rayleigh Channel Coefficients. The input variables are
%the number of TX antenna Nt and the number of RX antenna. The matrix is useful just for 
%one symbol. I u want a frame, u should use this function a number of time that depends
%on the length of your frame.
%
%
%Take care!
%
%
%Max

H=zeros(Nt,Nr);
R=eye(Nt*Nr);                                               %Correlation matrix. 
X=randn(Nt*Nr,1)/sqrt(2)+j*randn(Nt*Nr,1)/sqrt(2);          %Channel coefficients
H=reshape(R'*X,Nt,Nr);                                      %The matrix.




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -