SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
Synergy 0.9.2
3,602
aircrack 1.0RC1
1,699
Scary Maze
1,251
QuickPlay 3.8.4
1,005
Virtual Floppy Drive
2.1

975
Netcat 0.7.1
817
JDownload 0.9
813
Flash Flip Book
2.0.1

678
DjVu 0.8.0.9
668
Proxy List
631
Home / Scripts / Scientific/Engineering / Mathematics

fitellipse




Downloads: 295  Add to download basket  Tell us about an update
User Rating:
Rated by:
Good (3.5/5)
20 user(s)
Developer:

License / Price:
Platforms:

Databases:

Language:

Last Updated:

Category:
Richard Brown | More scripts
Freeware 
Windows / Linux / Mac OS / BSD / Solaris
N/A
Matlab
August 18th, 2007, 07:19 GMT
C: \ Scientific/Engineering \ Mathematics

 Read user reviews (0)  Add a review  Refer to a friend  Subscribe

 

fitellipse description

 

fitellipse - Fit ellipses to 2D points using linear or nonlinear least squares

There are two main methods for least squares ellipse fitting:
1) Minimise algebraic distance, i.e. minimise sum(F(x)^2) subject to some constraint, where F(x) = x'Ax b'x c

This is a linear least squares problem, and thus cheap to compute. There are many different possible constraints, and these produce different fits. fitellipse supplies two:
[z, a, b, al] = fitellipse(x, 'linear')
[z, a, b, al] = fitellipse(x, 'linear', 'constraint', 'trace')
See published demo file for more information.

2) Minimise geometric distance - i.e. the sum of squared distance from the data points to the ellipse. This is a more desirable fit, as it has some geometric meaning. Unfortunately, it is a nonlinear problem and requires an iterative method (e.g. Gauss Newton) to solve it. This is implemented as the default option in fitellipse. If it fails to converge, it fails gracefully (with a warning), returning the linear least squares estimate used to derive the start value

[z, a, b, alpha] = fitellipse(x)

plotellipse(z, a, b, alpha) can be used to plot the fitted ellipses

Requirements:

· MATLAB Release: R14SP3





TAGS:

matlab fitellipse | fit ellipse | matlab mathematics | matlab | fitellipse | fit

Related downloads IT News Popular downloads New additions   Latest reviews  
naninterp
naninterp - One dimensional Interpolation over NaNs.
INSERTROWS
INSERTROWS - Insert rows into a matrix at specific locations
fshift
fshift shifts the elements of an array by a (possibly non-integer) given number of elements.
unique_no_sort
unique_no_sort - Like unique.m but without sorting
matlab mep
mep creates epochs (0|1) in a logical array according to a list of indices (begin:end).


HTML code for linking to this page:


Go to top



SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM