Catenary - hanging rope between two points

Version (2.45 KB) by Yuval
Computes the catenary shape (hanging rope) of a given length between two given points.


Updated 10 Oct 2012

View License

Given two points in the vertical plane and a given length of rope, the supplied function computes the trajectory of the catenary between those points. Run plot_catenary.m for an interactive demo.

for a full description of the catenary curve.

Cite As

Yuval (2023). Catenary - hanging rope between two points (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes