I have this work which I have to do by creating a sub-matrix out of a given data set. I will explain it below.
Suppose, I have the data set as:
100 200 300 400 500 600
101 201 301 401 501 601
102 202 302 402 502 602
So, I want to create sub-matrices as follows:
For the first iteration ->
[[101 201 301 401 501]
[102 202 302 402 502]]
and
[[601]
[602]]
For the second iteration ->
[[100 200 300 400 500]
[102 202 302 402 502]]
and
[[600]
[602]]
And so on... The process will continue till the number of rows in the main/starting matrix.
In short, I want a LOO (leave one out) implementation of this data set, so that I can further work on it.
If you guys have any idea on how to do it, please share it. :)