Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: What am I missing?
Replies: 5   Last Post: Nov 23, 2012 5:30 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Greg Heath

Posts: 5,978
Registered: 12/7/04
What am I missing?
Posted: Nov 22, 2012 4:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

% help rank
%
% rank Matrix rank.
% rank(A) provides an estimate of the number of linearly
% independent rows or columns of a matrix A.

>>A1= round(rand(1,5))
A2 = 1-A1
A = [ A1 ; A2 ]
rankA = rank(A)

A1 = 1 0 1 1 0
A2 = 0 1 0 0 1
A = 1 0 1 1 0
0 1 0 0 1
rankA = 2

Why isn't rankA = 1?

Greg



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.