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 Center および MATLAB AnswersFit Postprocessing についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0