Info

此问题已关闭。 请重新打开它进行编辑或回答。

Function 'subsindex' is not defined for values of class 'channel.rayleigh'.

1 次查看(过去 30 天)
Hi ! i am computing SINR using this formula SINR = P*|h|^2/(No + I) for this "h" used
h=rayleighchan
this way:
for i=1:UE_A
path_loss(i)=148.1+37.6*log(DIST_A(i))+ 8*randn(1) - 10;
path_los(i)=10^(path_loss(i)/10);
I(i)=PT_M-path_loss(i);
h=rayleighchan;
UE_A_SINR(i)=PT_M*h/(noise_figr+sum(I(i)));
W_A=1/UE_A;
R_A(i)=W_A*size_RB*log2(1+UE_A_SINR(i));
end
and i have an error "Function 'subsindex' is not defined for values of class 'channel.rayleigh'"

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by