http://cn.mathworks.com/help/signal/examples/measuring-signal-similarities.html Open This Example This example shows how to measure signal similarities. It will help you answer questions such as: How do I compare signals with different lengths or
import pandas as pd import numpy as np import matplotlib.pyplot as plt data = pd.read_csv(r"C:\Users\Oscar\Downloads\Advertising.csv") x = data[["TV","Radio","Newspaper"]] y=data["Sales"] plt.plot(data[&qu