
function res = rows(M)

    dims = size(M);
    res = dims(1);

end
