48.8k views
4 votes
Extract all 30 less than or equal to aij less than or equal to 50 in a vector b, that is, find all elements of A that are between 30 and 50 and put them in a vector b.

User JDesuv
by
7.9k points

1 Answer

2 votes
b = A(30 <= A <= 50)
User Glborges
by
7.4k points