Why filtic function does not work for a specific use?

6 visualizaciones (últimos 30 días)
Sergio Cuadros
Sergio Cuadros el 17 de Jun. de 2020
Editada: Sergio Cuadros el 18 de Jun. de 2020
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])

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by