
233Implicit Parallelization (Vectorization and Indexing)
Logical indexing is indeed very useful for vectorization and they are commonly used
in tandem,
746
but these are two entirely separate concepts that should not be confused.
Vectorization can be done in many manners other than using logical indexing.
5.2 Built-In Vectorization Functions
5.2.1 Functions for Common Indexing Usage Patterns
Some common indexing techniques have been assigned dedicated built-in MATLAB func-
tions for convenience and even performance. These include, for example:
• iplr and ipud — for reversing array data
• rot90 — for rotating matrices, exchanging dimensions
•