Extracting values within a matrix

I have a 20 x 1 matrix of numbers and I need to compare this matrix to two threshold values
the values I obtain need to be below and above these threshold values and then i need to store them in a new matrix.
what function do i use and also how do I find their positions in the original matrix ?

Respuestas (1)

madhan ravi
madhan ravi el 21 de Mzo. de 2020

0 votos

Use logical operators ">" "<" and "find()"

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Mzo. de 2020

Respondida:

el 21 de Mzo. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by