function[]=rank(a) rank(a) for b=-10:10 a=[a(1),a(2),a(3);a(4),a(5),a(6);a(7),a(8),b] rank(a) end