Learning Scientific Programming with Python (2nd edition)
Q6.1.6: 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.
Learning Scientific Programming with Python (2nd edition)
Write an expression, using boolean indexing, which returns only the values from an array that have magnitudes between 0 and 1.