Geothmetic Meandian

Versione 1.0.0 (1,56 KB) da Bramvg
Calculates the Geothmetic Meandian as defined by xkcd.com/2435
14 download
Aggiornato 12 mar 2021

Visualizza la licenza

Calculates the Geothmetic Meandian as defined by xkcd.com/2435

M = geothmetic_meandian(X)
M = geothmetic_meandian(X, dim)

M is given by computating 3 parameters: mean(X), geomean(abs(X)) and
median(X), and iterating the computation until the 3 parameters converge.
The parameters are considered converged if their range < 1e-10 * range(X).
The final M is the mean of the converged parameters.

input:
X: input array
dim: dimension on which calculations are applied (default = first non-singleton dimension)

Cita come

Bramvg (2024). Geothmetic Meandian (https://www.mathworks.com/matlabcentral/fileexchange/88763-geothmetic-meandian), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2021a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0