+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Junior Member level 3
    Points: 1,762, Level: 9

    Join Date
    Dec 2004
    Posts
    31
    Helped
    0 / 0
    Points
    1,762
    Level
    9

    How to get SNR,SFDR,and THD without Matlab?

    i have no matlab,is there other way to get these parameters?
    VB?C ? is it can be download over web?

    •   AltAdvertisment

        
       

  2. #2
    Advanced Member level 3
    Points: 7,235, Level: 20

    Join Date
    Mar 2008
    Location
    USA
    Posts
    773
    Helped
    233 / 233
    Points
    7,235
    Level
    20

    How to get SNR,SFDR,and THD without Matlab?

    You need some software to calculate the DFT of your signal, then you need to add the squares of all the bins that are not signal or its harmonics to calculate the SNR. The SFDR is the difference between the signal power and the highest tone, while the THD is the sum of the power of all the harmonics.
    Of course you could do this in C. For the DFT/FFT check fftw.org for C source code.



--[[ ]]--