I have a matrix A like this:
A = [911 911; 0 2; 8 5; 7 3; 911 911; 5 3; 1 6; 6 7; 911 911; 3 5; 8 4];
I want to split the matrix A into three matrices (A1,A2,A3) based on the row values 911 like this:
A1 = [0 2; 8 5; 7 3]; A2 = [5 3; 1 6; 6 7];A3 = [3 5; 8 4];
I need to do this thing inside a for loop which will give the spitted matrix one after another.
Best Answer