title: Creating a vector with random sampling of two vectors in matlab
body: <p>How does one create a vector that is composed of a random sampling of two other vectors?</p>
  
  <p>For example </p>
  
  <p>Vector 1 [1, 3, 4, 7], Vector 2 [2, 5, 6, 8] 
  Random Vector [random draw from vector 1 or 2 (value 1 or 2), random draw from vector 1 or 2 (value 3 or 5)... etc]</p>
  
  <p>Finally, how can one ask matlab to repeat this process n times to draw a distribution of results?</p>
  
  <p>Thank you,</p>