Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT Fast Fourier transform problem

 

In the sample at National Instruments\MStudioVS2010\DotNET\Examples\Analysis\Enterprise\Filtering

 

we see code at line 1103

 

subsetOfMagnitudes[i] = magnitudes[i]*scalingFactor*Math.Sqrt(2.0); // Storing only half the magnitudes array.

 

my problem is why *scalingFactor*Math.Sqrt(2.0)?

 

using matlab usually dont do this right?

0 Kudos
Message 1 of 2
(5,257 Views)

i guess only store 1/2 of all magintude of array.

 

that's why just multiply sqrt ( 2 ) 

 

if store all magnitude of array , then need to multiply ( sqrt (2) )/2

 

Thanks

0 Kudos
Message 2 of 2
(5,237 Views)