title: How do I convert the double to vector in matlab?
body: <p>I have a function which only take vector as input; however, I need to use rand(x) as input variable but rand function only returns a double type. Is there any way to convert double to vector??
  Thank you very much!</p>