how to extract the time interval where variables start to increase
조회 수: 3 (최근 30일)
이전 댓글 표시
i have a function and i plot for every moment results of this function, such the image indicate, ,and then i want to detect the moment where variables start to increase and stop increasing
댓글 수: 0
답변 (1개)
Image Analyst
2016년 2월 28일
Try this:
indexes = find(signal < -50);
That will tell you whenever an signal value is less than -200. If you want to find only stretches where it meets the condition for some minimum number of elements, you can use bwareaopen() to throw out short stretches.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!