Home > Objects > @iData > max.m

iFit/max

PURPOSE ^

[m,id] = max(a,b, dim) : computes the maximum value of iData object(s)

SYNOPSIS ^

function [m,id] = max(a,b, dim)

DESCRIPTION ^

 [m,id] = max(a,b, dim) : computes the maximum value of iData object(s)

   @iData/max function to compute the maximum value of data sets.
     max(iData) returns a single value as the maximum value of the iData signal
     max(a,b)   returns an object which signal is the highest of a and b.
     max(a,[], dim) returns max value along dimension 'dim'

 input:  a: object or array (iData)
         b: object or array (iData/double)
         dim: dimension on which to operate

 output: m:  maximum value (double/iData)
         id: returns the indices of the maximum value (integer)
 ex:     b=max(a);

 Version: Nov. 27, 2018
 See also iData, max, iData/min

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1