Sep-25-2020, 12:31 PM
Hello everyone
I have the function:
f = np.linspace(0,10000)
d = np.linspace(0,1000000)
How can I plot this into a 3D Surface with the axis frequency (y), distance (x) and free space loss (z)?
Thanks a lot for your help already in advance!
I have the function:
#free space loss calculation def fspl(d, f): x = 4*math.pi ls = 3*10**8 result = 20*math.log10(d)+20*math.log10(f)+20*math.log10(x/ls) return resultand two of the axis:
f = np.linspace(0,10000)
d = np.linspace(0,1000000)
How can I plot this into a 3D Surface with the axis frequency (y), distance (x) and free space loss (z)?
Thanks a lot for your help already in advance!