Why filtic function does not work for a specific use?
9 次查看(过去 30 天)
显示 更早的评论
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])
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!