This function searches the interior of a signal in an attempt to find a segment that may be used in order to make the signal quasi-periodic. This can be used to reduce the influence of end effects on analyses such as the Hilbert Transform, the Wavelet Transform, the Hilbert-Huang Transform and EMD, or Hilbert Vibration Decomposition. It is not perfect but has helped me in my analyses and hopefully it can help you too.
Please post a comment or send me an email if there are any changes you would like to see in the code.
Nathanael Yoder (2022). PadSignal (https://www.mathworks.com/matlabcentral/fileexchange/25503-padsignal), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!