Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
RESAMPLING DATA FROM DIFFERENT EXCEL SHEETS
조회 수: 1 (최근 30일)
이전 댓글 표시
Good morning, i have an excel file (called Data) of 4 sheets and i try to:first randomly select a sheet then randomly select some value from it and repeat this 100 times each time taking a new random sheet and selecting random values form it(we can have the same sheet many times). Any idea about how to do this thank you in advance
댓글 수: 0
답변 (1개)
KSSV
2018년 5월 24일
Read about randperm. Every time randomperm gives you different number. To select a random sheet out of 4 sheets
sh = randperm(4,1) ;
You may follow the same to select data also.
댓글 수: 1
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!