You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mrcm.m
    path of file: ./repos/StiffMa/libs/mutils-0.4-2/mutils/reorder
    
    the code of the file until where you have to start completion: function [p,i] = mrcm(varargin)
%MRCM is a fast implementation of the Reverse Cuthill-McKee reordering
%
%  [perm,invperm] = MRCM(A)

    
function [p,i] = mrcm(varargin)
%MRCM is a fast implementation of the Reverse Cuthill-McKee reordering
%
%  [perm,invperm] = MRCM(A)
%
%Arguments:
%  A             : sparse matrix to be reordered
%
%Output:
%  perm          : permutation vector
%  invperm       : inverse permutation vector
%
%See also: SYMRCM, METIS_PART

% Copyright 2012, Marcin Krotkiewski, University of Oslo

error ('MEX function not found');

end