Fit logarithmic spiral to x,y data

버전 1.0.0.0 (19.7 KB) 작성자: H.J. Sommer
Fits logarithmic sprial r=a*exp(b*theta) to x,y data points.
다운로드 수: 2.2K
업데이트 날짜: 2008/10/15

라이선스 보기

Logaritmic spirals often occur in nature such as the cross section of a chambered nautilus, atmospheric vortices around regions of low pressure and spiral arms of galaxies. Polar form for a log spiral with center at the origin is r=a*exp(b*theta). A general log sprial with center at xc,yc is then x=xc+r*cos(theta) and y=yc+r*sin(theta). This code fits coefficients a,b and center location xc,yc to data points along the log spiral curve. It uses the nonlinear Nedler-Mead simplex routine "fminsearch" to find the best center location and a simple linearized least-squares solution for coefficients a,b. The code provides an RMS measure for goodness-of-fit.

인용 양식

H.J. Sommer (2024). Fit logarithmic spiral to x,y data (https://www.mathworks.com/matlabcentral/fileexchange/21749-fit-logarithmic-spiral-to-x-y-data), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Fit Postprocessing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0