Untitled
unknown
plain_text
9 months ago
515 B
20
Indexable
# imports
import matplotlib.pyplot as plt
import numpy as np
dist = np.array([5,10,15,20,25,30,35,40,45,50,55,60])
distC = dist * 0.01
# amplitude at h=0, theta=0 (mV), 50kHz
a1 = np.array([102,56.5,27,20.75,16.25,13.625,11.5,11.125,7.45,5.8,5,6.625])
a1c = a1*(0.001)/8 # correction for amplitude ratio
plt.plot(distC, a1c)
plt.xlabel('Distance from Tx (m)')
plt.ylabel('Amplitude Ratio')
plt.title('Amplitude Ratio against Distance ($\Theta$ = 0, f = 40kHz)', fontsize = 15)
plt.show()
Editor is loading...
Leave a Comment