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 Q6.1.6