How to convert IIR filter transposed direct form || SOS to traditional transposed direct form ||?

M
mirabbasi · Sep 17, 2021 · 1.9K views
Question
I have created a high pass butterworth filter in FilterDesigner tool in MATLAB. now I want to convert its structure to transposed direct form || and then do model realization. Is there a way I can realize it as traditional transposed direct form, as it existed in older versions of fdatool like R2012, and not second-order sections?  
Expert Answer
Profile picture of John Michell
John Michell PhD Expert
Answered Aug 13, 2026
% Get the filter coefficients (replace a and b with butterworth filter)
b = [0.3 0.6 0.3];
a = [1 0 0.2];

% >R2011a: differet structure of filter implementations
hd = dfilt.df1(b,a);
hd = dfilt.df2(b,a);
hd = dfilt.df1t(b,a);
hd = dfilt.df2t(b,a);

In using 'filterDesigner', go to edit-> Convert to single section (from sos).
 
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!