Boolean indexing

Question Q6.1.6

Write an expression, using boolean indexing, which returns only the values from an array that have magnitudes between 0 and 1.


Solution

To access solutions, please obtain an access code from Cambridge University Press at the Lecturer Resources page for my book (registration required) and then sign up to scipython.com providing this code.