Borrar filtros
Borrar filtros

Find existence of values in the certain range

2 visualizaciones (últimos 30 días)
Turbulence Analysis
Turbulence Analysis el 10 de Oct. de 2023
Comentada: Turbulence Analysis el 10 de Oct. de 2023
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
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 Help Center 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