MATLAB: How can i generate chaos sequence communications blocksetsequence generation I want to generate chaos sequence using matlab,please provide me the code for this sequence generation Best Answer Hi Ammu,You can use the logistic map.x(n+1) = r*x(n)*(1-x(n))%sequence is chaotic where 3.57 < r < 4.r = 3.8; % r parameter for chaotic regimesize = 100; % size of chaotic arrayx(1)= 4; % initial valuefor i=1:size-1 x(i+1) = r*x(i)*(1-x(i));end%Now x is a chaotic array with 100 elements.Hope this will help.Özgür Related SolutionsMATLAB: Using chaotic sequence to generate random numbers This GitHub repo has a MATLAB implementation. I cannot attest to its quality. MATLAB: Help!!!!!!!! How to replace all the zeros in an array with -1 X(X==0) = -1 ; Related QuestionGenerate 0 and 1
Best Answer