02-27-2008 02:09 PM
06-08-2008 07:45 PM
03-13-2009 09:00 PM
Hi,
I'd really appreciate a response from NI regarding this matter. I've run into another case where I need to calculate the group delay of an analog filter, but the supplied grpdelay() macro does not supply the correct value unless I scale it appropriately.
03-16-2009 11:11 AM - edited 03-16-2009 11:15 AM
Hello,
You have come across a bug. There is a factor error in the resulting group delay calculation. This problem will be rectified as soon as possible.
For now, the best way to get the correct result is to do it manually by writing the following expression in the in the post processor (without quotes):
"-deriv(ph(V(out)))/(2*pi)"
where v(out) is the complex vector of interest.
Note that the function ph() returns the phase in radians and hence the 2pi scaler.
Sorry for this inconvenience