meanangle

Takes the mean of a vector of angles avoiding the 360-degree ambiguity.

Vous suivez désormais cette soumission

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.

Citation pour cette source

pascal de theije (2026). meanangle (https://fr.mathworks.com/matlabcentral/fileexchange/3473-meanangle), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : adjustPolarAngles

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Added supporting function that is called from within 'meanangle.m'.