Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Only show values below a maximum
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I have a huge matrix with the time and values that I measured, e.g:
matrix =
0 153
1 631
2 512
3 132
4 523
5 1326
Now I only want to give out those values that are <600 (below a defined maximum) and the time belonging to them, so that I would get:
ans =
0 153
2 512
4 523
Is there any MATLAB command solving this problem without using 'while'?
Best regards! Oliver
댓글 수: 1
Jan
2011년 9월 8일
This is a standard procedure in Matlab. I suggest to read the Getting Started chapters in the documentation.
BTW. how does your WHILE approach look like?
답변 (1개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!