?? model_ar.m
字號:
function [xP] = model_AR(xP,DS,delay);
%This routine uses the classical AR correlation method to model the channel
global nTx nRx Npart
%Using correlation method
B = bessel(0,2*pi*DS);
Nv = 2*(1 - B*B);
for d = 1:delay; %Trying to predict to end of block
xP = B*xP + sqrt(Nv/2)*(randn(nRx,nTx,Npart) + i*randn(nRx,nTx,Npart));
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -