Time difference between two successive rising edges of a pulse train signal
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Vijay Nahar
2014-7-28
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 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!