Code covered by the BSD License  

Highlights from
A pretty seashell

4.8

4.8 | 5 ratings Rate this file 1 Download (last 30 days) File Size: 2.29 KB File ID: #11742
image thumbnail

A pretty seashell

by Tim Davis

 

19 Jul 2006 (Updated 26 Sep 2006)

a short MATLAB function that displays a pretty seashell

Editor's Notes:

This was a File Exchange Pick of the Week

| Watch this File

File Information
Description

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, 2005,
http://www.mathworks.com/support/books/book10487.html

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

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
20 Jul 2006 Brian Keats

Cool.

20 Jul 2006 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.

29 Jul 2006 Tim Davis

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

24 Aug 2006 Marco Boaron  
20 Nov 2006 shelly beach

beautiful seashell
:)

15 Dec 2007 Lamar Cole

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

Please login to add a comment or rating.
Updates
31 Jul 2006

shellgui file uploaded, which does the same thing as this file but with a GUI interface.

22 Sep 2006

added link to the book.

25 Sep 2006

Changed from a script to a function. Added extensive comments. Added a "spin" feature (try seashell('spin')).

26 Sep 2006

Re-uploaded function version of the file (9/23 version was uploaded but file remained unchanged on MATLAB Central).

Tag Activity for this File
Tag Applied By Date/Time
gallery Tim Davis 22 Oct 2008 08:33:08
parametrically defined surface Tim Davis 22 Oct 2008 08:33:08
surfn 3d Tim Davis 22 Oct 2008 08:33:08
seashell Tim Davis 22 Oct 2008 08:33:08
function Tim Davis 22 Oct 2008 08:33:08

Contact us at files@mathworks.com