Why filtic function does not work for a specific use?
Show older comments
Hello users,
I designed a filter via bilinear transformation in order to obtein a high-pass filter of Butterworth. When I want to set initial conditions with filtic function, it does not give me what I expect. I have a signal with an offset, then I filter that with the designed filter. But the case is that the first values of the filtered signal are still remaining from the original offset.
[num_s, den_s] = butter(2, 1, 'high', 's');
r = F_c*PIOD;
F_a = 1/(2*pi);
F_s = F_a/r;
[NUM_z, DEN_z] = bilinear(num_s, den_s, F_s, F_a);
newOffset = 0;% I set the parameter in that way because the filter removes all low-frecuency
% components of my signal.
iniConds = filtic(NUM_z, DEN_z, [newOffset newOffset])
Answers (0)
Categories
Find more on Digital Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!