filter data in matrix
조회 수: 19 (최근 30일)
이전 댓글 표시
I have a matrix with 500 rows and two columns, I want to filter the first column when the value < 100 it shoud be removed. so, the new matrix will have the filtered data for the 2 columns.
C is the matrix
filt = C(:,1)<100;
C(filt) = [];
this will remove the data but will only return the first coumn . I want to have the second one also corsponding to that filter.
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!