meanangle
Version 1.0.0.0 (1.44 KB) by
pascal de theije
Takes the mean of a vector of angles avoiding the 360-degree ambiguity.
1.5K Downloads
Updated
13 Apr 2005
No License
This function calculates the geometric mean of all input angles (in degrees), avoiding any 360-degree ambiguity. The input angles can be between [0 360] or [-180 180] degrees.
Example: anglemean([1 2 3 358],[0 360]) gives 1.0 as mean value.
Cite As
pascal de theije (2026). meanangle (https://in.mathworks.com/matlabcentral/fileexchange/3473-meanangle), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Radar > Phased Array System Toolbox > Phased Array Design and Analysis > Antennas, Microphones, and Sonar Transducers >
Find more on Antennas, Microphones, and Sonar Transducers in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: adjustPolarAngles
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Added supporting function that is called from within 'meanangle.m'. |
