Skip to content

YAtXMin

Y value at the index where X is minimum.

M = YAtXMin(X, Y)

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).

x = [3 1 5 2 4]; y = 1:5;
YAtXMin(x, y) % 2 (X is min at index 2 → Y(2))
  • 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.