Array indices must be positive integers or logical values.
1 view (last 30 days)
Peng Li on 31 Mar 2020
What are you trying to do? In inner loop, b is your loop index. It is seen as a scalar. There aren't any b(sounds6_) if sounds6_ is larger than 1.
For your upper loop, step isn't involved in any of these calculation.