git-svn-id: http://moon:8086/svn/matlab/trunk@157 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
2022-06-16 06:16:47 +00:00
parent 9c60c50492
commit 579c1544b1
29 changed files with 1210 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
function test (N)
h1 = sinc((-N/2:N/2-1)/77).*hann(N)';
h2 = sinc((-N/2:N/2-1)/100).*hann(N)';
h1 = zeros(1,N);
h1(N/2+1) = 0.5;
v1 = sum((h1))
h2p = [h2 zeros(1,N/2)];
h12 = filter(h1,1,h2p);
plot(1:N, h12(N/2+1:N+N/2)/v1, 1:N, h1, 1:N, h2)
grid;