Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

2 ビュー (過去 30 日間)
ammara khurshid
ammara khurshid 2016 年 10 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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