Rayleigh_f​​ading(100​,​10000,15​0,​3,0.000​000​01) the result become NaN + NaNi

1 view (last 30 days)
the Matlab function “Rayleigh Fading Channel Simulation” from the Matlab Central. This Matlab function simulates the fading channel when i use Rayleigh_fading(100,10000,150,3,0.00000001) the answer is array of NaN + NaNi i`m using matlab 2013a in other hand when i use matlab 2010 there is answer real and imaginary numbers
  4 Comments
salah aldeek
salah aldeek on 13 Oct 2015
can i change any thing in matlab2013a preference to solve this problem ? i say that because in matlab2010a the same function works and give answer without NaN +NaNi
Geoff Hayes
Geoff Hayes on 14 Oct 2015
Edited: Geoff Hayes on 14 Oct 2015
Salah - try an isolate the problem. Is it the
wgn(M+KKK,1,10*log10(segma_u),'complex')
or the
filter(1,[1 AR_parameters.'],wgn(M+KKK,1,10*log10(segma_u),'complex'))
that is causing the problem. Unfortunately, I don't have access to these functions so cannot comment on what may be going wrong. Something may have changed in the implementation of these functions since R2010...

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!