Rank: 5054 based on 6 downloads (last 30 days) and 1 file submitted
photo

Armin Ataei

E-mail
Company/University
Penn State University

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Armin
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Jan 2013 Screenshot Fast Reduced Row Echelon Form A much faster version of MATLAB's RREF Author: Armin Ataei linear algebra, frref, rref, reduced row echelon f... 6 5
  • 5.0
5.0 | 4 ratings
Comments and Ratings by Armin
Updated File Comments Rating
16 Nov 2012 Fast Reduced Row Echelon Form A much faster version of MATLAB's RREF Author: Armin Ataei

@Angela YANG: Please note that the function frref(A,tol) may compute a slightly different value for the variable "tol" if it ommitted. This is most likely why you got different results when you compared the two. You can try the following code instead:
n = 100;
tol = 1e-6;
A = magic(n);
B = rref(A,tol);
C = frref(A,tol);
error = max(abs(B(:)-C(:)))
-----------------
In my case I got error = 8.4867e-011.
I should also point out that, as you know, A = magic(n) produces a square matrix and therefore A basically corresponds to a linear system of equations with n equations and n-1 variables. It is therefore very likely that such system has no solution at all and its frref does in fact confirm that. Hope this helps.

Comments and Ratings on Armin's Files View all
Updated File Comment by Comments Rating
10 Jan 2013 Fast Reduced Row Echelon Form A much faster version of MATLAB's RREF Author: Armin Ataei Myles, Ashish

16 Nov 2012 Fast Reduced Row Echelon Form A much faster version of MATLAB's RREF Author: Armin Ataei Ataei, Armin

@Angela YANG: Please note that the function frref(A,tol) may compute a slightly different value for the variable "tol" if it ommitted. This is most likely why you got different results when you compared the two. You can try the following code instead:
n = 100;
tol = 1e-6;
A = magic(n);
B = rref(A,tol);
C = frref(A,tol);
error = max(abs(B(:)-C(:)))
-----------------
In my case I got error = 8.4867e-011.
I should also point out that, as you know, A = magic(n) produces a square matrix and therefore A basically corresponds to a linear system of equations with n equations and n-1 variables. It is therefore very likely that such system has no solution at all and its frref does in fact confirm that. Hope this helps.

27 Oct 2012 Fast Reduced Row Echelon Form A much faster version of MATLAB's RREF Author: Armin Ataei YANG, Angela

When I test it for magic matrix, it gave the different answer with matlab.

16 Feb 2011 Fast Reduced Row Echelon Form A much faster version of MATLAB's RREF Author: Armin Ataei Babak

Very fast and robust. It may not be a bad idea to preallocate 'jb' and then delete the empty elements. Otherwise, awesome!

02 Oct 2008 Fast Reduced Row Echelon Form A much faster version of MATLAB's RREF Author: Armin Ataei Toljic, Nikola

Very good.

Top Tags Applied by Armin
frref, linear algebra, reduced row echelon form, rref
Files Tagged by Armin
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Jan 2013 Screenshot Fast Reduced Row Echelon Form A much faster version of MATLAB's RREF Author: Armin Ataei linear algebra, frref, rref, reduced row echelon f... 6 5
  • 5.0
5.0 | 4 ratings

Contact us