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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| 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). |
