maxi
algorithm
- finds maximum value of a variable and its coordinates
syntax
[mm,ii,jj,xi,yj]=maxi(X,Y,variable)
example for input
[mm,ii,jj,xi,yj]=maxi(X,Y,temperature)
input arguments
Name | description |
---|---|
X,Y | vectors defining the domain |
variable | variable to be investigated |
output arguments
Name | description |
---|---|
mm | maximum value of the variable |
ii | column-coordinate of maximum (integer) |
jj | line-coordinate of maximum (integer) |
xi | x-coordinate of maximum (reel) |
yj | y-coordinate of maximum (reel) |
matlab tools required
- max