Program to find the deconvolution of two sequences.

Please help me with the code to find the deconvolution of two finite sequences h(n) and y(n).
I have written the following code:
clc
close all
y=input('Enter y');
h=input('Enter h');
lh=length(h);
ly=length(y);
lx=ly-lh+1;
a=zeros(ly,ly);
a
a(1:lh,1)=h;
for i=1:ly-1
for j=1:lx-1
a(i+1,j+1)=a(i,j);
end
end
a
a1=inv(a);
a1
x=a1*y';
x
The result of the inv() operation is a matrix with all elements Inf.
Please advice.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

製品

質問済み:

2012 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by