gusucode.com > symbolic工具箱matlab源码程序 > symbolic/@sym/rref.m
function r = rref(A) %RREF Reduced row echelon form. % RREF(A) is the reduced row echelon form of the symbolic matrix A. % % Example: % rref(sym(magic(4))) is not the identity. % Copyright 2013 The MathWorks, Inc. if any(reshape(~isfinite(A),[],1)) error(message('symbolic:sym:InputMustNotContainNaNOrInf')); end r = privUnaryOp(A, 'symobj::rref'); end