NaN in deconvolution

7 次查看(过去 30 天)
raj0689
raj0689 2011-12-14
Hi guys,
I am stuck with a deconvolution part in my program. I have a filter o/p and the filtered o/p, but they both have zeros and numbers too. When I am trying to deconvolute, it returns "NaN" values. Is there any solution to it? I m stuck here for days. Please help me.
Thanks and regards,
Raj.

采纳的回答

Amith Kamath
Amith Kamath 2011-12-14
Since your data has zeros in them, deconvolution may return NaNs because you are dividing by zeros. What you could do is either of these:
try by adding 'eps' to all the zero values, so that it results in finite values, although not exactly accurate,
or, remove the NaN values by using ~isfinite or ~isnan.
  4 个评论
Walter Roberson
Walter Roberson 2011-12-14
even_val=deconv(eps+fil_sig_demod_even,eps+fil_op);
raj0689
raj0689 2011-12-15
thanks Walter :) its working , but still i am not able to reverse my modulation.. getting lots of errors in getting +1s and -1s.. :(

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by