Borrar filtros
Borrar filtros

How to use "OR" in find function?

12 visualizaciones (últimos 30 días)
Ibrahim AlZoubi
Ibrahim AlZoubi el 17 de Mayo de 2020
Respondida: Walter Roberson el 17 de Mayo de 2020
This function get out the value of zeros
filter = find(x~=0)
now to write "or y>=0" in this function ?
ex:
filter = find(x~=0 or y>=0)

Respuestas (1)

Walter Roberson
Walter Roberson el 17 de Mayo de 2020
filter = find(x~=0 | y>=0)
You could also use
filter = find( or(x~=0, y>=0) )

Categorías

Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by