Chapter 5

Logical Vectors

Abstract

The objectives of this chapter are to enable you to understand logical operators more fully and to introduce you to logical vectors and how to use them effectively in a number of applications. Logical functions are also introduced. Applications of logical vectors and logical functions are a most powerful and elegant feature of MATLAB.

Keywords

Logical operators; Logical vectors and functions (true or false outputs)

Get Essential MATLAB for Engineers and Scientists, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.