Glah
This commit is contained in:
parent
3401384eff
commit
3729c4ec28
@ -99,7 +99,6 @@ void FFT::freq2smp()
|
||||
{
|
||||
unsigned int rand = m_randdist(m_randgen);
|
||||
REALTYPE phase=rand*inv_2p15_2pi;
|
||||
|
||||
data[i]=freq[i]*cos(phase);
|
||||
data[nsamples-i]=freq[i]*sin(phase);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user