I had a problem that I was wondering if it could be solved by one of the techniques/algorithms used in bioinformatics to give the extent of similarity. I am a
Problem Statement: We have a sensor (it's like a magnetic compass and has a dial with twelve equal zones - 30 degrees each) that every second outputs where its pointing.
The typical random output of the sensor may look like (for example)
30 30 30 30 30 30 120 120 120 120 120 120 60 60 60 60 60 60 330 330 330 330 30 30 30 30 210 210 210 210 210 60 60 60 60 60 60 60 60 60 60 60 60 60 ……….etc.
We wanted to see if we can calculate a measure of similarity of two 4-minute sequence samples taken at different times during the day . (It would be great if we could state something like - the sequences are similar and there is a 1 in million(say)chance that we may be wrong.)