how to extract the time interval where variables start to increase
6 ビュー (過去 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156103/image.jpeg)
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!