% Cesar sousa 4-10-2014

% functio that delete the last X rows, starting from the set point until
% the end

function output = del_rows_from(imput_bigger_matriz,setpoint)

    tamanho = size(imput_bigger_matriz,1);
    cont = 1;
    for cont =1:tamanho
        if imput_bigger_matriz(cont,1) >= setpoint
            break
        end
    end
    output = imput_bigger_matriz(1:cont,:);
  
end