필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by