Maximum_median

get the x highest values from double array and calculates median
8 Downloads
Updated 27 Jul 2020

View License

get the x highest values maxs from double array and calculates median med_highest

SYNTAX
[med_highest,maxs] = Maximum_median(array,amount);
[med_highest,maxs] = Maximum_median(array,amount,NAME,VALUE);

DESCRIPTION
[med_highest,maxs] = Maximum_median(array,amount); array can be a vector or a 2-D double array; amount determines the amount of highest values. By default: amount is the fraction

[med_highest,maxs] = Maximum_median(...'Type', value);
value can be: 'fract', 'percent','number'

[med_highest,maxs] = Maximum_median(...'Dimension', value);
value can be: 1,2 according to dimension, else error message: 'limited to 2D application'

Cite As

Eva-Maria Weiss (2026). Maximum_median (https://ch.mathworks.com/matlabcentral/fileexchange/78649-maximum_median), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with R2017b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0