Am having a feature matrix with 12 rows and 5 coloumns which contains male and female image features. i want to split and assign first five rows for a variable 'male' and remaining rows for a variable 'female'. How can i do that in matlab?
it just shows this error.
"Error in sample (line 5)
x=m1(1:5,;"
I have stored the matrix as m1.mat. so can call write the code like this?
load m1
x=m1(1:5,;
y=m1(6:12,;