Locate Starting Point of Signal in Time Series

version 1.0.0 (1.13 KB) by halleyhit
Locate starting point of signal in time series. e.g., pulse signal in real-time monitoring.


Updated 15 Nov 2018

View License

made by halleyhit in about 2013 and published in 2018
Email: halleyhit@sjtu.edu.cn or halley-at-hit@163.com

When receiving time series in experiments, we often find some zeros before wanted signal. Also, it is difficult to locate the starting point with noise pollution. e.g. when locating partial discharge by ultra high frequency sensor, the first step is to locate starting time of each PD pulse.

This function uses ENERGY CRITERION algorithm, which can be found in "Sacha M. Markalous, Stefan Tenbohlen and Kurt Feser, Detection and Location of Partial Discharges in Power Transformers using Acoustic and Electromagnetic Signals. IEEE Transactions on Dielectrics and Electrical Insulation Vol. 15, No. 6; December 2008"

HOW to use
TimeSeries is a double vector
StartingPoint is the order number of starting point

a=[zeros(1,20) ones(1,20)]+rand(1,40);% Step signal with noise
S=userstart(a) % Starting point

Cite As

halleyhit (2022). Locate Starting Point of Signal in Time Series (https://www.mathworks.com/matlabcentral/fileexchange/69445-locate-starting-point-of-signal-in-time-series), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with R2013a to R2018b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!