Find beginning and end points from a pulse
23 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am trying to determine the beginning and end points of a pulse like the plot below. I have seven of these pulses saved in an array called Pulse_arry(1, 7) and would like to be able to find the beginnign and end points for each individually. Would anyone know a simple way to do this? I do not have access to functions like dutycycle or pulseperiod so it would have to be done a different way.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/546722/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/546722/image.png)
Thanks for any help
0 件のコメント
採用された回答
Star Strider
2021 年 3 月 11 日
Either first negate the pulse (multiply it by -1) and then use findpeaks, or use islocalmin (possibly with find) to determine the beginning and end.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!