Gauss2lats

Version 1.0.0.0 (1.54 KB) by Tom Holt
Estimates the latitudes of a Gaussian grid.
2.1K Downloads
Updated 23 Oct 2003

No License

Spectral atmospheric models provide data on a Gaussian grid that has regular longitude spacing but irregular latitude spacing. Gauss2lats provides the latitudes for such data. This information is needed, for example, when making a contour map.

The function determines the Gaussian latitudes by finding the roots of the ordinary Legendre polynomial of degree NLAT using Newton's iteration method. The only input required is the number of latitude lines in the Gaussian grid. The outputs are Gaussian latitudes, latitude spacing, and cosine of latitude.

Cite As

Tom Holt (2026). Gauss2lats (https://www.mathworks.com/matlabcentral/fileexchange/2586-gauss2lats), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Polynomials in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Comments in code and limitations changed following improved estimate of accuracy by Lee Panetta (21.10.2003).