I have these 2 signals and I need to compare them. My question is how to compare these and obtain a numerical value called distortion factor in Matlab?