Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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'"

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!