I have a mxn matrix and I want to use it in some neural network applications in MATLAB.
For instance,
A = [ 24 22 35 40 30 ; 32 42 47 45 39 ; 14 1 10 5 9 ; 2 8 4 1 8] ;
I want to randomly train some columns and check the rest of the remaining columns. So, the first matrix will contain three random separate columns taken from the original matrix A, while the second matrix contains the remaining two columns.
How can I extract these matrices?
source share