diff options
author | Nao Pross <np@0hm.ch> | 2021-11-14 19:14:22 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-11-14 19:14:22 +0100 |
commit | d5726abcecefa765bd3ccef9a56acc20a8e5daef (patch) | |
tree | d41ea6bf8ca4d0edc70d30d23d3d3a462d63fcd7 /doc/thesis/figures/data/multipath_frequency_response.py | |
parent | Start writing discrete time model of fading channels (diff) | |
download | Fading-d5726abcecefa765bd3ccef9a56acc20a8e5daef.tar.gz Fading-d5726abcecefa765bd3ccef9a56acc20a8e5daef.zip |
Continue discrete model
Diffstat (limited to 'doc/thesis/figures/data/multipath_frequency_response.py')
-rw-r--r-- | doc/thesis/figures/data/multipath_frequency_response.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/thesis/figures/data/multipath_frequency_response.py b/doc/thesis/figures/data/multipath_frequency_response.py index e5207ae..a550c02 100644 --- a/doc/thesis/figures/data/multipath_frequency_response.py +++ b/doc/thesis/figures/data/multipath_frequency_response.py @@ -1,7 +1,7 @@ import sys, os import numpy as np -nsamples = 300 +nsamples = 320 np.seterr(over='raise') @@ -10,10 +10,10 @@ def tap(c, tau, f): # attenuations for frequency plot -f_whole = np.logspace(5, 9, num=nsamples) +f_whole = np.logspace(5, 8, num=nsamples) linear_whole = 1 / f_whole multipath_whole = tap(c=.8, tau=500e-9, f=f_whole) + tap(c=.4, tau=300e-9, f=f_whole) -channel_whole = linear_whole * multipath_whole +channel_whole = multipath_whole # coordinates for complex diagram f_tap = np.linspace(2e6, 2.5e6, num=nsamples) |