File Exchange

image thumbnail

A pretty seashell

version (2.15 KB) by Tim Davis
a short MATLAB function that displays a pretty seashell


Updated 10 Oct 2018

View Version History

View License

Editor's Note: This was a File Exchange Pick of the Week

A short MATLAB function that displays a pretty Florida seashell, using a 3D parametrically defined surface. Appears on the front and back cover of the "MATLAB Primer", Davis and Sigmon, Chapman & Hall/CRC Press,

See also "shellgui" in the File Exchange, which allows you to change the shape of the seashell dynamically.

Comments and Ratings (7)

Michele Macaluso

Lamar Cole

Just as the sound of the sea flows through a seashell, the sound of love flows through the heart.

shelly beach

beautiful seashell

Marco Boaron

Tim Davis

Author's comments: for an explanation of the a, b, c, and n parameters, see "shellgui", also in the MATLAB Central Gallery.

Sergei Koptenko

An interesting and beautiful illustration. It would be nice to include some explanation of what exactly parameters n, a, b and c are controling.

Brian Keats


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

Inspired: MATLAB Primer, 7th Edition, CRC Press, 2005

Community Treasure Hunt

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

Start Hunting!