Mapping Toolbox    
smoothlong

Remove discontinuities in longitudes

Syntax

Description

ang = smoothlong(angin) removes discontinuities in longitude data. The resulting angles may cover more than one revolution.

ang = smoothlong(angin,units) removes

mat = spcread(cols) uses the units defined by the input string units. If omitted, default units of 'degrees' are assumed.

Examples

Remarks

This function can remove large jumps in longitude that might otherwise result in spurious data when interpolating with interpm.

See Also
npi2pi
Truncates angles into the -180 deg to 180 deg range
zero22pi
Truncates angles into the 0 deg to 360 deg range
interpm
Interpolates vector data to a specified data separation


  sm2deg, sm2km, sm2nm, sm2rad spcread