title: Opencv Matrix Rows and column
body: <p>I have a matrix of labels for training SVM of size (1 x 5).. 5 labels for 5 image.</p>
  
  <p>Now, the problem is that, the data matrix with training data is of size (1 x 65000). Infact this matrix has to be of size (5 x 13000); that is 5 columns (image) of 13000 rows.</p>
  
  <p>I tried reshaping but it didnt work. Can i get some help how to change the matrix size.</p>
  
  <p>Thank you</p>