
function ind=deleteRepeted(A)

    %Compare rows 
    
    i=1; 
    [j,c]=size(A);

    ind=[];
    
    while (isequal(A(i,:),A(i+1,:)) & i<j)
        ind=[ind i];
        i=i+1;
    end
    
    while (isequal(A(j,:),A(j-1,:)) & j>1)
        ind=[ind j];
        j=j-1;
    end
    
    %return ind;
    
end