|Subject:||Re: test this in matlab for my please|
|Date:||Fri, 8 Jul 2016 22:01:03 -0400|
Plot the digital impulse response, multiplying the numerator by a constant (
Fs) to compensate for the 1/
Fs gain introduced in the impulse response of the derived digital filter.
[b,a] = butter(4,0.3,'s'); [bz,az] = impinvar(b,a,10); sys = tf(b,a); impulse(sys); hold on; impz(10*bz,az,,10);
Notice the 10*bz ;
Their code produces the filter coefficients that are wrong by a factor of Fs!!!!
My code does not need this extra multiply by Fs.
What should I do?
To say it another way their output from the filter needs a correction factor!
I would prefer to keep my results. It is derived with proper math.
|[Prev in Thread]||Current Thread||[Next in Thread]|