Signal Processing / Model Evidence !!

9 views (last 30 days)
Susan
Susan on 15 Aug 2011
Commented: Abhishek Tripathi on 13 Sep 2023
Hello everyone.
I am just wondering if there is an algorithm or technique to give the answer to the question "If the two signals are originally from the same source".. I am trying to calculate the delay time between two signals and the data are real data so I don't know my answer myself but I meant to calculate the delay time then be able to answer if the two signals are alike but just that one is delayed but at the moment with me I just answer this question by looking at the signals after shifting it back by the delayed time. My question is, is there a more practical way to code then it will be like a model evidence rather than my own judgement based on some alogorithm it will answer this question?? Any idea on any algorithm I should use and read about will be appreciated !!
Cheers, Susan
  1 Comment
Fangjun Jiang
Fangjun Jiang on 15 Aug 2011
I am trying to calculate the delay time between two signals and the data are real data so I don't know my answer myself but I meant to calculate the delay time then be able to answer if the two signals are alike but just that one is delayed but at the moment with me I just answer this question by looking at the signals after shifting it back by the delayed time.
breathe, breathe, breathe...

Sign in to comment.

Accepted Answer

David Young
David Young on 15 Aug 2011
In general, you need to make some assumptions about what might have happened to the signals (e.g. addition of noise, non-linear distortion, delays etc.) in order to answer your question. However, it sounds like you believe that there are two possibilities: (a) the signals are unrelated or (b) the main difference is just a time delay. In that case, cross-correlation may be sufficient. Start by having a look at that.
  5 Comments
Daniel Shub
Daniel Shub on 16 Aug 2011
It is a minor, but important point, most statistical tests will tell you how confident you are that the signals are NOT from the same source. They tell you little about if the signals are in fact from the same source.
Susan
Susan on 29 Aug 2011
Thank you Daniel, I managed to get the ttest2 works on my code and you right it tells me that the two signals are not from the same source but do you know what to use to find out if they are from the same source??

Sign in to comment.

More Answers (2)

Syeed
Syeed on 28 Jun 2023
Hello everyone,
In Signal processing onrap course there is an task in Preprocessing Signals of Custom Preprocessing Function and the task is "Duplicate the harp, pax, and wanc signals and append _cm to the signal names. For example, duplicate harp and name the result harp_cm.
The function nm2cm has been written for you. Use the custom preprocessing function nm2cm to process the three new signals so that their units are in centimeters instead of nanometers. Then display the three new signals in the time domain." and I put my 100% on it. so, can you gays help me.
  3 Comments
CHEEPATI
CHEEPATI on 25 Aug 2023
me also put 100% effort can't solve it can you explain in detail.
Abhishek Tripathi
Abhishek Tripathi on 13 Sep 2023
Duplication was succesful but it says the harp_cm, pax_cm, and wanc_cm signals are not processed correctly.

Sign in to comment.


Vasam
Vasam on 28 Aug 2023
Duplicate the harp, pax, and wanc signals and append _cm to the signal names. For example, duplicate harp and name the result harp_cm.
The function nm2cm has been written for you. Use the custom preprocessing function nm2cm to process the three new signals so that their units are in centimeters instead of nanometers. Then display the three new signals in the time domain.

Community Treasure Hunt

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

Start Hunting!