MATLAB Function Reference    
rref, rrefmovie

Reduced row echelon form

表示

詳細

R = rref(A) produces the reduced row echelon form of A using Gauss Jordan elimination with partial pivoting. A default tolerance of
(max(size(A))*eps *norm(A,inf)) tests for negligible column elements.

[R,jb] = rref(A) also returns a vector jb so that:

[R,jb] = rref(A,tol) uses the given tolerance in the rank tests.

Roundoff errors may cause this algorithm to compute a different value for the rank than rank, orth and null.

rrefmovie(A) shows a movie of the algorithm working.

例題

Use rref on a rank-deficient magic square:

参考

inv, lu, rank


 round rsf2csf