Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
let x&T two vector.now permute the x with T to get Y such that "y=x(t(n)).n is itration...next step???
조회 수: 2 (최근 30일)
이전 댓글 표시
A=[1 2 3;4 5 6;7 8 9]; B=A(:)'; x(1)=0.3; p=0.343; for n=2:9; if x(n-1)>=0 & x(n-1)<=p x(n)=x(n-1)/p; else x(n)=(1-x(n-1))/(1-p); end end Q=sort(x); T=randperm(length(x)); Q(n)=x(T(n));
댓글 수: 1
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!