フィルターのクリア

Find rows in which the first column is within a range defined by a value in another matrix.

1 回表示 (過去 30 日間)
Nicolaas Pickard
Nicolaas Pickard 2022 年 5 月 3 日
コメント済み: Voss 2022 年 5 月 3 日
I am extracting rows from matrix acc1, which have a first column value within a certain range . This range is defined by two values taken from a double, a. I am getting error messages for this and not sure why.
q=acc1(acc1(:,1) > a(1,1) & acc1(:,1)< a(2,1) , :);
  5 件のコメント
Nicolaas Pickard
Nicolaas Pickard 2022 年 5 月 3 日
Yeah it worked perfectly. Thanks :)

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by