The echelon of a matrix is not unique. You can write infinite many of them. One of them can be written using lu factorization.
[~,echelon_form] = lu(A); % A is the input matrix
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!