I learn me better
for example, given A
A=[1 2 3 0 0 5; 8 0 3 0 9 9]
I want a vector which contains the extrems of these zeros:
v=[3 5; 8 3; 3 9];
thanks
matrix
A=[1 2 3 0 0 5; 8 0 3 0 9 9]
v=[3 5; 8 3; 3 9];
Best Answer