Compare common value of a timeserie
===

2,I have timeseries that don't have the same start time and I would like to find the commun part of them.

EX:

    a=[ 0,1,2,3,4,5,6,7]
    b=[ 2,3,4,5,6,7,8,9]
    c=[-1,0,1,2,3,4,5,6]

    result=[2,3,4,5,6]



Is there a matlab function to do that ?