mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
If delay=0.0 make Watterson use only a single component to simulate flat fading.
This commit is contained in:
parent
cf1fe6c3d6
commit
8f1baae048
@ -46,7 +46,11 @@ subroutine watterson(c,npts,nsig,fs,delay,fspread)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
nshift=nint(0.001*delay*fs)
|
nshift=nint(0.001*delay*fs)
|
||||||
|
if(delay.gt.0.0) then
|
||||||
c2(0:npts-1)=cshift(c(0:npts-1),nshift)
|
c2(0:npts-1)=cshift(c(0:npts-1),nshift)
|
||||||
|
else
|
||||||
|
c2(0:npts-1)=0.0
|
||||||
|
endif
|
||||||
sq=0.
|
sq=0.
|
||||||
do i=0,npts-1
|
do i=0,npts-1
|
||||||
if(nonzero.gt.1) then
|
if(nonzero.gt.1) then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user