I am searching for a short waveform within a longer noisy waveform. What is the best way to find the location within the longer waveform of the best fitting match to the short waveform? I have played with xcorr and conv and look for position of maximum value, but translating from the position in the xcorr result to the position in the long waveform is causing me problems. I also have problems if the amplitude in the long waveform varies widely from position to position.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
4 Comments
Thomas (view profile)
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/35901-find-position-of-smaller-waveform-within-a-longer-noise-waveform#comment_74458
Philip (view profile)
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/35901-find-position-of-smaller-waveform-within-a-longer-noise-waveform#comment_74461
Thomas (view profile)
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/35901-find-position-of-smaller-waveform-within-a-longer-noise-waveform#comment_74463
Philip (view profile)
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/35901-find-position-of-smaller-waveform-within-a-longer-noise-waveform#comment_74468
Sign in to comment.