4.5

4.5 | 2 ratings Rate this file 123 downloads (last 30 days) File Size: 3.55 KB File ID: #11920

Least-Squares optimal affine subspace

by Ofek Shilon

 

08 Aug 2006 (Updated 08 Aug 2006)

No BSD License  

Computes the affine subspace (eg, line, plane) that optimally fits the input data

Download Now | Watch this File

File Information
Description

The zip includes:
(1) lsqAffineSpace: a 'low level' routine that takes a set of m-dimensional real sample data and returns the optimal-fit k-dimensional affine subspace, with some options for discarding outliers.
(2) lsqPlane and lsqLine: lsqAffineSpace wrappers, that compute optimal line and hyperplane (plane, if the samples are 3-vectors) of the input samples.
(3) lsqAffineTestScript: demonstrating usage of the functions.

MATLAB release MATLAB 7.2 (R2006a)
Zip File Content  
Other Files lsqAffineSpace.m,
lsqAffineTestScript.m,
lsqLine.m,
lsqPlane.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
17 Apr 2007 Bill Gates

I wonder what the output is.
Could you please explain it in detail?
Thanks!

12 Oct 2009 Raymond Cheng

Thanks for your sharing.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
approximation Ofek Shilon 22 Oct 2008 08:34:42
interpolation Ofek Shilon 22 Oct 2008 08:34:42
least Ofek Shilon 22 Oct 2008 08:34:42
square Ofek Shilon 22 Oct 2008 08:34:42
optimal Ofek Shilon 22 Oct 2008 08:34:42
optimization Ofek Shilon 22 Oct 2008 08:34:42
f Ofek Shilon 22 Oct 2008 08:34:42
subspace Ofek Shilon 22 Oct 2008 08:34:42
line Ofek Shilon 22 Oct 2008 08:34:42
plane Ofek Shilon 22 Oct 2008 08:34:42
affine Ofek Shilon 22 Oct 2008 08:34:42
optimal Gerrit 02 Apr 2009 12:31:23
approximation Gerrit 02 Apr 2009 12:31:27
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com