Time difference between two successive rising edges of a pulse train signal
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I want to find the time difference between two successive rising edges of a pulse train signal. Can someone suggest me a method to do this.
Thanks.
0 Kommentare
Antworten (1)
Vijay Nahar
am 28 Jul. 2014
1) save the pulse data as a .csv file
2) read the data into Matlab so column 1=amplitude and column2=time
3) using a loop, go through the amplitude data until the amplitude value, either side of the current value, is within a small variation
4) You should now be at the top of the first pulse. step back through the data until you find the pulse rising edge. This will be when the amplitude value, adjacent to the current value, drops significantly.
5) Note the corresponding time value in column 2.
6) Repeat procedure for 2nd pulse.
7) The difference in the two time values will give the rising edge propogation delay.
Good Luck!
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!