Weighted FFT using custom weighting

  • Software
  • Weighted FFT using custom weighting
nick arran

Posted on 07.08.2020 15:10

I want to create a weighted FFT using my own vector of weightings; I had thought to import an array as a global variable and then multiply that "point by point" with the result of an FFT, then, finally summing the values of the FFT (ie SUM(MyWeightedFFT{50:1000}).


This would be easy in Matlab .. TotalWeightedFFT = WindowCorrectionFactor*sum(FFT.*Weighting(1:end)).


But is there a way in dewesoft? The point by point multiplication function is easy (it's the default multiplication of two arrays) but how to create a static array containing the weighting factors?

Jernej Sirk
NVH Application Engineer
Posted on 10.08.2020 09:56

Hello,


this can be done with Vector, matrix constant math.


Please make sure that the defined array in the math matches with FFT array.





The next step is to multiply the FFT array with array from Vector constant math with Fomula.



Best regards,

Jernej Sirk

nick arran

Posted on 12.08.2020 16:46

Thanks. Easy now I've found the Vector / Matrix / constant tool!

Login to reply to this topic. If you don't have account yet, you can signup for free account .