How can I delete values below certain treshold in vector
조회 수: 14 (최근 30일)
이전 댓글 표시
Jan-Willem van de Scheur
2018년 1월 11일
댓글: Jan-Willem van de Scheur
2018년 1월 11일
I have a 3521x1 vector and I would like to drop all values above the value of 10. How can I do this?
댓글 수: 0
채택된 답변
Pawel Jastrzebski
2018년 1월 11일
편집: Pawel Jastrzebski
2018년 1월 11일
vector = randi(20,1,352);
newVector = vector(vector<10);
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!