How to find time of rising and falling edges

29 visualizaciones (últimos 30 días)
Jose Montano Vazquez
Jose Montano Vazquez el 17 de Nov. de 2023
Respondida: Bharath Venkataraman el 28 de Nov. de 2023
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

Respuestas (2)

Mathieu NOE
Mathieu NOE el 17 de Nov. de 2023
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)
  5 comentarios
madhan ravi
madhan ravi el 18 de Nov. de 2023
+1 Paul
Jose Montano Vazquez
Jose Montano Vazquez el 18 de Nov. de 2023
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

Iniciar sesión para comentar.


Bharath Venkataraman
Bharath Venkataraman el 28 de Nov. de 2023
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.

Community Treasure Hunt

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

Start Hunting!

Translated by