C++ Math Library Reference | ![]() ![]() |
Generate the last index for an array dimension
C++ Prototype
mwArray end(mwArray &mat, mwArray &x, mwArray &y);x
end()
is used. (1
= row , 2
= column)
y
C++ Syntax
This example selects all but the first element in row three from array A
:
A(3, colon(2, end(A, 2, 2)));
MATLAB Syntax
A(3, 2:end)
See Also
end
Calling Conventions![]() | empty | eomday | ![]() |