Skip to content

Commit

Permalink
May 25, 2024, 8:49 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
frohro committed May 26, 2024
1 parent 74e8392 commit 9f995f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python Files/ image_rejection.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def calculate_image_rejection(I, Q):
# Calculate the image rejection ratio
image_rejection = 20*np.log10(np.abs(I+ j1*Q)/np.abs(I - j1*Q))
image_rejection = 20*np.log10(np.abs(I + 1j*Q)/np.abs(I - 1j*Q))
return image_rejection

# Generate example u and v signals
Expand Down

0 comments on commit 9f995f4

Please sign in to comment.