extract column index of a particular values in the matrix

11 次查看(过去 30 天)
Hi,
I got 1 x 10000 matrix named x1 (attached here), I intend to extrcat the indices of the colum which got the values in the range of 500 to 550.. Is there away to extract the indices of the column based on criteria...

采纳的回答

Ive J
Ive J 2021-2-2
B = x1(x1 <= 550 & x1 >= 500);
  1 个评论
Turbulence Analysis
Thanks, Ive. Actually, the requirement is to find along with indices,
so I have used as follows,,
B = find(x1 <= 550 & x1 >= 500);

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by