4.5

4.5 | 2 ratings Rate this file 6 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)

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

| 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)
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

Contact us at files@mathworks.com