image_output_1.png
import numpy as np

m = 100

vx = 10
vy = 10

mx = np.array(vx + np.random.randn(m))
my = np.array(vy + np.random.randn(m))
measurements = np.vstack((mx, my))

plt.figure(figsize=(10, 7))
plt.plot(range(m), mx, label='$v_1 (measurements)$')
plt.plot(range(m), my, label='$v_2 (measurements)$')
plt.ylabel('Velocity Measurements')
plt.title('Noisy Measurements')
plt.legend(loc='best', prop={'size': 15})
plt.show()