Filter Matrix over a specific value
조회 수: 65 (최근 30일)
이전 댓글 표시
data = [1:10];
idx = data > 5;
%output only logical values
I want to filter my values, aim would be to get all values in a matrix that are bigger than 5 and everything below should be "deleted".
So the new dimension for this example would be 1x4 [6,7,8,9,10].
How can I implement this?
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!