Hi, I am just trying source-filter separation with lpc function and filtfilt function. However, when the signal pass through filtfilt, it becomes extremely large. When I use filter instead of filtfilt, there is no problem with it.
Is there any problems in my code?
a = lpc(source,50);
e = source - filtfilt([0 -a(2:end)],1,source);
recovered = filtfilt(1,a,e);