title: How to insert a column of ones and zeros into a matrix using Octave?
body: <p>Suppose I have a matrix with a set of integers. I want to use the check <code>rand &gt; 0.5</code> to prepend a random vector of 1s and 0s to my matrix. How could I do this?</p>