title: matlab - concatenate image pixel value into one row or one column of data
body: <p>i am doing an image recognition project and would like to use the pixel values as the medium to differentiate 2 different images via matlab nprtool. To prepare the training and testing data set, the data has to be in either a column or a row form. So how can I concatenate pixel values of an image (for example 100x100) into 1 column or 1 row of data? What is the most appropriate way to do it? </p>