i want to make random size of my datasample.output must give random size array. As i am very new in matlab. please help.
이전 댓글 표시
채택된 답변
추가 답변 (1개)
Jos (10584)
2015년 3월 2일
you want a random size sample? Like this, perhaps:
DATA = 'ATCG'
K = randi([10 20],1) % random number between 10 and 20
Y = datasample(DATA,K)
댓글 수: 1
Tonmoy saha
2015년 3월 2일
편집: Tonmoy saha
2015년 3월 2일
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!