Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!b6g2000pre.googlegroups.com!not-for-mail
From: spasmous <spasmous@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Economy svd with second arg 0 not correction (R2008a)
Date: Fri, 3 Apr 2009 17:40:51 -0700 (PDT)
Organization: http://groups.google.com
Lines: 21
Message-ID: <f01a1a1b-6f88-4218-bea9-30a3dee4f9c1@b6g2000pre.googlegroups.com>
NNTP-Posting-Host: 132.239.142.130
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1238805651 10200 127.0.0.1 (4 Apr 2009 00:40:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 4 Apr 2009 00:40:51 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: b6g2000pre.googlegroups.com; posting-host=132.239.142.130; 
	posting-account=ncfGGAoAAACF2UeTuTcJ6PAyMvLk0mth
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) 
	Gecko/2009032609 Firefox/3.0.8,gzip(gfe),gzip(gfe)
Bytes: 1297
Xref: news.mathworks.com comp.soft-sys.matlab:530220

A=rand(3,4)


[U S V]=svd(A,'econ'); % correct behaviour
size(S)

ans =

     3     3



[U S V]=svd(A,0); % incorrect behaviour
size(S)

ans =

     3    4