![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1542462/image.png)
How to find time of rising and falling edges
29 ビュー (過去 30 日間)
古いコメントを表示
Can someone help me find the time at wich the rising and falling edge are detectected in simulink. My end gold is to calculate the pulse width, pulse repetiton interval, time of arrival, and time of delay. help would be much appreciated. I am generating the pulse signal with in my model
0 件のコメント
回答 (2 件)
Mathieu NOE
2023 年 11 月 17 日
hello
see file attached , this is a good starting point
here we want to measure (in samples) the time difference (period) between the rising edge and falling edge of a chirp signal
the model runs a fixed time step (Fs = 10^5)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1542462/image.png)
5 件のコメント
Bharath Venkataraman
2023 年 11 月 28 日
You could use the Logic Analyzer capability (or the Simulink Scope block) to view the signal and see where teh rising and falling edges happen.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!