Find existence of values in the certain range

5 visualizzazioni (ultimi 30 giorni)
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..

Risposta accettata

Dyuman Joshi
Dyuman Joshi il 10 Ott 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

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by