YAtXMin
Y value at the index where X is minimum.
Syntax
Section titled “Syntax”M = YAtXMin(X, Y)Description
Section titled “Description”Given paired samples X and Y of the same length, returns the value of Y at the index where X is minimum. Symmetric counterpart of XAtYMin.
MathJet-specific (not in MATLAB).
Examples
Section titled “Examples”x = [3 1 5 2 4]; y = 1:5;YAtXMin(x, y) % 2 (X is min at index 2 → Y(2))See also
Section titled “See also”XAtYMin— X value at the index where Y is minimum.YAtXMax— Y value at the index where X is maximum.
Also categorized under: Range Functions / Math.