Rank: 2040 based on 26 downloads (last 30 days) and 2 files submitted
photo

Gordon Amoako

E-mail

Personal Profile:
Professional Interests:
General M-file coding

 

Watch this Author's files

 

Files Posted by Gordon View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Sep 2010 Screenshot cofactors This is a function that computes the cofactors of an n x n matrix Author: Gordon Amoako mathematics, matrices 7 2
  • 3.0
3.0 | 2 ratings
07 Feb 2007 Floating number conversion to binary and vice-versa Converts a fractional value to binary and vice versa Author: Gordon Amoako decimal to binary, floating, numbers, decimals, inbuilt 19 0
  • 4.75
4.8 | 4 ratings
Comments and Ratings on Gordon's Files View all
Updated File Comment by Comments Rating
13 Sep 2010 cofactors This is a function that computes the cofactors of an n x n matrix Author: Gordon Amoako Luong, Bruno

Cofactor_of_a = inv(a).'*det(a)

Simpler and faster.

Bruno

09 Sep 2010 cofactors This is a function that computes the cofactors of an n x n matrix Author: Gordon Amoako Sean de

The output is not preallocated and grows inside the loop: M-LINT!!!

This will do the same thing faster (with preallocating output):
[r,c]=size(A);
[rr cc] = meshgrid(1:r,1:c);
D = zeros(r,c);
for ii = 1:numel(A)
    D(ii) = det(A(~(rr(ii)==1:r),~(cc(ii)==1:c)));
end
Ab = (-1).^(rr+cc).*D';

19 Aug 2008 Floating number conversion to binary and vice-versa Converts a fractional value to binary and vice versa Author: Gordon Amoako gupta, tarun
10 Dec 2007 Floating number conversion to binary and vice-versa Converts a fractional value to binary and vice versa Author: Gordon Amoako chen, johnson
03 Oct 2007 Floating number conversion to binary and vice-versa Converts a fractional value to binary and vice versa Author: Gordon Amoako Biswas, Pradoyt
Top Tags Applied by Gordon
decimal to binary, decimals, floating, inbuilt, mathematics
Files Tagged by Gordon View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Sep 2010 Screenshot cofactors This is a function that computes the cofactors of an n x n matrix Author: Gordon Amoako mathematics, matrices 7 2
  • 3.0
3.0 | 2 ratings
07 Feb 2007 Floating number conversion to binary and vice-versa Converts a fractional value to binary and vice versa Author: Gordon Amoako decimal to binary, floating, numbers, decimals, inbuilt 19 0
  • 4.75
4.8 | 4 ratings

Contact us at files@mathworks.com