Find existence of values in the certain range

4 views (last 30 days)
Hi, I have 1000 arrays. In each, I have to find the existence of values in a certain range let's say 50.5 -52.5..

Accepted Answer

Dyuman Joshi
Dyuman Joshi on 10 Oct 2023
If you want to find some particular values, use ismembertol.
If you want to find numbers which appear in the whole range, use logical indexing - https://in.mathworks.com/help/matlab/matlab_prog/find-array-elements-that-meet-a-condition.html

More Answers (0)

Categories

Find more on Loops and Conditional Statements 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!