image thumbnail

EXPO 2011 Signal Processing Workflow Demo Files

by

 

MATLAB EXPO 2011 Signal Processing Workflow Demo Files

fi_2nd_order_df2t_filter(b,a,x,y,z)
function [y,z] = fi_2nd_order_df2t_filter(b,a,x,y,z) %#codegen
%FI_2ND_ORDER_DF2T_FILTER  Second-order Direct-Form II Transpose Filter
     
% Copyright 2011 The MathWorks, Inc.
    for j=1:length(x)
        y(j) =  b(1)*x(j) + z(1);
        z(1) = (b(2)*x(j) + z(2)) - a(2) * y(j);
        z(2) =  b(3)*x(j)         - a(3) * y(j);
    end
end

Contact us