title: How to select random samples from a dataset in Matlab
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1856141/how-do-i-randomly-select-k-points-from-n-points-in-matlab">How do I randomly select k points from N points in MATLAB?</a>  </p>
  </blockquote>
  
  
  
  <p>Let's say I have a dataset that includes 10,000 rows of data. What is the best way to create a subset that includes 1,000 randomly chosen rows?</p>