Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
ammara khurshid
ammara khurshid le 13 Oct 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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'"

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by