function h=dd1(n)h=zeros(1, length(n));n = [1 2 3 4 5 6 7];h(n==0) = 1;n=-10:10;h(n)=dd1(n-3)-2.7083*dd1(n-4)+4.1861*dd1(n-5)-3.0451*dd1(n-6)+0.73071*dd1(n-7);stem(n, h)xlabel('n')ylabel('Delta Function')
Thank you.
function h=dd1(n)h=zeros(1, length(n));n = [1 2 3 4 5 6 7];h(n==0) = 1;n=-10:10;h(n)=dd1(n-3)-2.7083*dd1(n-4)+4.1861*dd1(n-5)-3.0451*dd1(n-6)+0.73071*dd1(n-7);stem(n, h)xlabel('n')ylabel('Delta Function')
Best Answer