Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: best fit line through coordinates
Date: Sat, 16 Oct 2010 19:14:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <i9cths$hee$1@fred.mathworks.com>
References: <i9bf4s$9dq$1@fred.mathworks.com> <i9cqth$skp$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1287256445 17870 172.30.248.35 (16 Oct 2010 19:14:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 16 Oct 2010 19:14:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2560698
Xref: news.mathworks.com comp.soft-sys.matlab:679027

Roger,

do you mean like this? :


X=

107.35 107 
111.51 146
117 154.61 
111.29 114


[U,S,V] = svd(X)


My question is which component should I use to do the orthogonal fitting?

thanks 
kurt