DSP Lab 2

This commit is contained in:
2024-02-23 21:42:45 -05:00
parent 2d4bbf49a4
commit c66e0cb8cc
200 changed files with 53329 additions and 320 deletions

View File

@@ -16,8 +16,8 @@ for i in range(len(y)):
E_x[i] = E_x_total
fig, ax = plt.subplots()
ax.scatter(n,y, label="x[n]")
ax.scatter(n, E_x, c='red', label="E_x")
ax.axhline(np.pi**2 / 6, linestyle='-')
ax.scatter(n,y, label="$x[n]$")
ax.scatter(n, E_x, c='red', label="$E_x$")
ax.axhline(np.pi**2 / 6, linestyle='-', label="$\\frac{\pi^2}{6}$")
ax.legend()
plt.show()