How do I split a matrix across its median? Suppose I have a 5×10 matrix sorted in ascending order. I want to split this into two 5×5 matrices by finding the median of each row.
Then each sub-matrix will be further split k-times, for a huge matrix. The number of rows will remain constant.
Best Answer