CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - matlab finds
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - matlab finds - List
[
Algorithm
]
leastsquareellipse
DL : 0
至少输入五个点,得到最小二乘模拟椭圆,最后得到椭圆左右焦点以及主轴与x轴夹角等具体参数-[Xc,Yc,A,B,Phi,P]=ELLIPSEFIT(X,Y) finds the least squares ellipse that best fits the data in X and Y. X and Y must have at least 5 data points. Xc and Yc are the x- and y-axis center of the ellipse respectively.
Date
: 2025-12-28
Size
: 2kb
User
:
nancy
[
Algorithm
]
FRACTIONAL_DIFFERINTEGRAL
DL : 0
通过傅里叶扩展计算的微分和积分函数,十分有用。-Description The n-th order derivative or integral of a function defined in a given range [a,b] is calculated through Fourier series expansion, where n is any real number and not necessarily integer. The necessary integrations are performed with the Gauss-Legendre quadrature rule. Selection for the number of desired Fourier coefficient pairs is made as well as for the number of the Gauss-Legendre integration points. Unlike many publicly available functions, the Gauss integration points k can be calculated for k>=46. The algorithm does not rely on the build-in Matlab routine roots to determine the roots of the Legendre polynomial, but finds the roots by looking for the eigenvalues of an alternative version of the companion matrix of the k th degree Legendre polynomial. The companion matrix is constructed as a symmetrical matrix, guaranteeing that all the eigenvalues (roots) will be real. On the contrary, the roots function us
Date
: 2025-12-28
Size
: 235kb
User
:
111
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.