How to filter a 'tall' array using multiple conditions?
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm trying to get some data out of 'tall' arrays, with multiple conditions. So for example if my 'tall' array has 5 columns, I want to filter the array with conditions on multiple columns. 'find' doesn't work...
댓글 수: 3
Adam Filion
2018년 4월 23일
Do you need to return the 'check' value for some reason? It will always have the value of 'true'. If not it should be more efficient to return only the tall table itself without appending the logical index to it.
result = gather(tt(logtt,1:6));
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tall Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!