compare answer with a range of numbers ?
Show older comments
i have answers 4,6,7,9 and want to compare them with a range of numbers 4:12 then i will extract that row which will meet this comparison true like i say if answer==4:12 then it does not work i have to ask if this answer is in the range of 4:12 if yes then it must work further
2 Comments
salman hayat
on 18 Jun 2014
Azzi Abdelmalek
on 18 Jun 2014
What is the problem with ismember?
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!