Tutorial on using these Matlab features to simplify solutions.
Logical arrays allow remarkably compact vectorised solutions to problems that would otherwise use loops to process matrix entries one at a time. The tutorial is available as a Matlab script that you can run (and edit to try things), and as a published PDF document . It covers more than just how to use LAs to complete the assignment: knowing how to use them is essential knowledge for when you start using Matlab seriously in senior years.
Resource created 9 years ago, last modified 9 years ago.