x=0.3;p=0.343;for n=2:65536;if x(n-1)>=0 & x(n-1)<=p x(n)=x(n-1)/p;else x(n)=(1-x(n-1))/(1-p);endendA=sort(x);[A,T]=sort(x);Q=R(T);
whats next.? thanks in advance.
Embedded CoderFilter Design HDL CoderMATLABmatlab codermatrix arrayPolyspace Code Prover Access
x=0.3;p=0.343;for n=2:65536;if x(n-1)>=0 & x(n-1)<=p x(n)=x(n-1)/p;else x(n)=(1-x(n-1))/(1-p);endendA=sort(x);[A,T]=sort(x);Q=R(T);
Best Answer