Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
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'"

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by