Ellipse arc length

版本 1.0.0.0 (1.8 KB) 作者: Luc Masset
Computes the length of an ellipse arc given the two radiuses and the starting and ending angles.
945.0 次下载
更新时间 2010/3/2

查看许可证

I had to compute the length of arcs of Earth's meridian. I noticed that there was no analytical solution for this so I wrote this very simple function.

It computes the arc length of an ellipse centered on (0,0) with radius a (along OX) and radius b (along OY)

x(t) = a.cos(t)
y(t) = b.sin(t)

with angle t (in radians) between t1 and t2.

The solution is obtained numerically by dividing the arc in small straight segments. In addition, the second output is the length of the complete ellipse compyted with an approximated formula (Ramanujan).

Luc

引用格式

Luc Masset (2024). Ellipse arc length (https://www.mathworks.com/matlabcentral/fileexchange/26819-ellipse-arc-length), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Geometric Geodesy 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0