From: Travis Wiens on 3 Sep 2009 16:30 "Messam Abbas" <messam4u(a)gmail.com> wrote in message <h1rj58$2o4$1(a)fred.mathworks.com>... > Hi guys, > > I got a seriously simple problem but i m unable to tackle it down.. > > I have two signals. > > signal 1 is 500 samples for 18 seconds. > signal 2 is 1100 samples for 18 seconds. > > they are almost identical in shape but there is a time delay of around 0.7 seconds between them. > > I was told to minimize the time delay so that they should overlap. > > I tried some naive techniques like interpolating the signal 1 so that i have identical number of samples.. then filling up zeros for first 30 samples on the signal that left behind and now they are overlapping and matching. But i wanted something more technical instead of this high school maths.. Some one told me of something like "sum of the squares minimization" would do the job. Is there any idea how..?? or anything else other than i propsed... > > Regards, > Messam As promised (but behind schedule), I've posted something on the file exchange demonstrating delay estimation: http://www.mathworks.com/matlabcentral/fileexchange/25210 Travis
|
Pages: 1 Prev: zoom bottom plot from plotyy Next: question: find and use neighboring nodes |