How to find time of rising and falling edges

조회 수: 17 (최근 30일)
Jose Montano Vazquez
Jose Montano Vazquez 2023년 11월 17일
답변: Bharath Venkataraman 2023년 11월 28일
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

답변 (2개)

Mathieu NOE
Mathieu NOE 2023년 11월 17일
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)
  댓글 수: 5
madhan ravi
madhan ravi 2023년 11월 18일
+1 Paul
Jose Montano Vazquez
Jose Montano Vazquez 2023년 11월 18일
This is what I am implementing to obtain risng and falling edges, is there a way where I can obtain the time at which each on of them. Thank you

댓글을 달려면 로그인하십시오.

Bharath Venkataraman
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.


Help CenterFile Exchange에서 Signal Generation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by