Function Reference
— Function File: sombrero (n)

Produce the familiar three-dimensional sombrero plot using n grid lines. If n is omitted, a value of 41 is assumed.

The function plotted is

          z = sin (sqrt (x^2 + y^2)) / (sqrt (x^2 + y^2))

See also: surf meshgrid mesh

Demonstration 1

The following code

 sombrero ();

Produces the following figure