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 ]
Nasser Abbasi

Posts: 5,673
Registered: 2/7/05
Re: What am I missing?
Posted: Nov 22, 2012 5:20 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 11/22/2012 4:00 PM, Nasser M. Abbasi wrote:
> On 11/22/2012 3:18 PM, Greg Heath wrote:
>> % help rank
>> %
>> % rank Matrix rank.
>> % rank(A) provides an estimate of the number of linearly
>> % independent rows or columns of a matrix A.
>>

>
>> A = 1 0 1 1 0
>> 0 1 0 0 1

>
>> rankA = 2
>>
>> Why isn't rankA = 1?
>>
>> Greg
>>


>
> It is the maximum number of linearly independent column or rows in A.
> Which is 2. For example, the first 2 columns.
>


hi;

follow up:


EDU>> [U,S,V] = svd(A)

U =

1 0
0 1

S =
1.7321 0 0 0 0
0 1.4142 0 0 0


V =
0.5774 0 -0.5774 -0.5774 0
0 0.7071 0 0 -0.7071
0.5774 0 0.7887 -0.2113 0
0.5774 0 -0.2113 0.7887 0
0 0.7071 0 0 0.7071


--Nasser



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.