Create correlation.m

Self-defined correlation coefficient calculation. It can give the correlation result or the envelope. Unequal length sequences are permitted.