mex_rref

Same functionality as the MATLAB rref function, but quicker.

You are now following this Submission

Same functionality as the MATLAB rref function, but quicker.

>> mex_rref_demo

A = rand(200);

R1 = rref(A);
Elapsed time is 1.435837 seconds.

R2 = mex_rref(A);
Elapsed time is 0.012729 seconds.

max(max(abs(R1 - R2))): 0
Speed-up factor: 113

Cite As

Ben Mitch (2026). mex_rref (https://www.mathworks.com/matlabcentral/fileexchange/4085-mex_rref), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.0

Added a demo script and an auto-compile script. Also added proper support for tolerance parameter.

1.0.0.0