I'm currently processing some data I acquired. The problem is: there's an element between the value I want to measure and my sensor (to be clear: there's a pipe between my microphone and the sound I measure). This pipe filters my signal X, through a transfer function H.
I want to deconvolve the measured signal to cancel the influence of this pipe (my microphone gets Y=H*X and I want X). I measured H, and fitted it:
0.003682 s^4 + 90.87 s^3 - 4.835e05 s^2 + 1.051e08 s + 4.499e12
———————————————————————————————————————————————————————————————
s^4 + 628.3 s^3 + 1.759e07 s^2 + 2.668e09 s + 4.053e12
I used the standard matlab function filter(b,a,Y)
to reverse the filtering induced by H, with b being the denominator of H and a its numerator... this should inverse H. But instead of my deconvoluted signal, I get a vector of NaN.
Does someone know why? I've got absolutely no idea, I'm not very at ease with digital filtering...