Skip to content

maxb

Element-wise maximum of two arrays (kernel-level).

C = maxb(A, B)

Counterpart of minb. Use max instead in user code.

maxb([1 5 3], [4 2 3]) % [4 5 3]
  • max — Maximum value along a dimension, or elementwise maximum of two inputs.
  • minb — Element-wise minimum of two arrays (kernel-level).