I need help writing a function, that splits matrix X into two halves. X1 is the left half of X and X2 is the right half of X. In the case that there is an odd number of columns, the middle column should go to X1.
MATLAB: Using Size and cell functions to split a matrix
cellmatrix manipulationsize;split matrix
Best Answer