Find existence of values in the certain range

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..

 Respuesta aceptada

Dyuman Joshi
Dyuman Joshi el 10 de Oct. de 2023

1 voto

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

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by