a(a(a>3)<10) = OK ; a(a>3 && a<10) = wrong!, the correct way?
1 view (last 30 days)
Alexandra Harkai on 27 Feb 2017
If you want to get only values between 3 and 10 (excluding the endpoints), the correct way would be:
a(a>3 & a<10)
(Not exactly sure what you meant by 'OK' but a(a(a>3)<10) definitely gives some unexpected results.)