Hi All,

I am trying to calculate the Effective no.of bits,SINAD,SNR etc. for a delta-sigma ADC. As per the OCEAN reference document on page 427 for the function "spectrum" , it shows that these parameters are calculated using the DFT of any given input signal.

However,when I am using the below expression its showing that evaluation of the expression has failed.

spectrum (dft(VT("/net028") 0 1e-06 4096 "Rectangular" 1 "default") 4096 500K 1 2G "Rectangular" nil "sinad")

Please provide your insights on this and what could be the possible solution for this.

FYI: I calculated the DFT separately and used the spectrum function which gave me an erroneous result( I assume!!)

Regards,

Kashif