Using the C++ Math Library | ![]() ![]() |
Using Logical Subscripts
This section describes how to use:
colon index and a logical vector as a two-dimensional subscriptThe examples work with matrix A
and the logical array B
.
A 1 4 7 2 5 8 3 6 9 B 1 0 1 0 1 0 1 0 1
![]() | Extending Two-Dimensional Indexing to N Dimensions | Overview | ![]() |