Version (1.91 KB) by M MA
Angles interpolation.
Updated 14 Oct 2005

View License

Same as interp2 or griddata, but to deal with angles. The aim is avoid false discontinuities as in the case of interpolation of an angle between 350 and 10, for instance.

Interp2 or griddata would give 180, while correct result is zero.

See the example at the screenshot

Cite As

M MA (2024). interp2pi (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Interpolation in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes