Extracting values within a matrix

13 Ansichten (letzte 30 Tage)
Rumaanah Khan
Rumaanah Khan am 21 Mär. 2020
Beantwortet: madhan ravi am 21 Mär. 2020
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 ?

Antworten (1)

madhan ravi
madhan ravi am 21 Mär. 2020
Use logical operators ">" "<" and "find()"

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by