Maximum operation via a non-linear summation.
More...
Detailed Description
Maximum operation via a non-linear summation.
- Author
- Frederik Beuth
- For vectors, Y = maxNonLin(X) returns a sum of mostly only the largest element in X.
- Algorithm: Y = sum( (sum(X.^4)).^0.25)
- For matrices, maxNonLin(X) is a row vector containing the maximum element from each column. For N-D arrays, maxNonLin(X) operates along the first non-singleton dimension.
- Y = maxNonLin(X,Y) returns an array the same size as X and Y with the largest elements taken from X or Y. Either one can be a scalar.
- Y = maxNonLin(X,[ ],DIM) operates along the dimension DIM.