extract column index of a particular values in the matrix

7 ビュー (過去 30 日間)
Turbulence Analysis
Turbulence Analysis 2021 年 2 月 2 日
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
Turbulence Analysis 2021 年 2 月 2 日
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 Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by