C++ Math Library Reference    
end

Generate the last index for an array dimension

C++ Prototype

Arguments
mat
   Array

x
   The dimension where end() is used. (1 = row , 2 = column)

y
   Number of indices in the subscript (for two-dimensional indexing, always 2; for one-dimensional indexing, always 1).

C++ Syntax

This example selects all but the first element in row three from array A :

MATLAB Syntax

See Also


 empty eomday