Lessons
Topics covered
- Relational operators: <, >, <=, >=, ==, ~= and their logical outputs
- For complex numbers, only the real part is used for >, <, >=, <= — both parts are used for ~= and ==
- Examples with scalars, vectors and arrays
Topics covered
- Logical operators: &, |, ~, xor()
- Truth tables
Topics covered
- find(), any() and all()
- Combining relational and logical operators
- Creating complex logical statements, e.g. checking if x < y < z for any value of y
- Examples using matrices
Topics covered
- Indexing with logical arrays (logical indexing)