Demo entry 6643351

3

   

Submitted by anonymous on Sep 27, 2017 at 18:13
Language: Matlab. Code size: 162 Bytes.

n=[-4:2];x=[1,-2,4,6,-5,8,10];
[x11,n11]=sigshift(x,n,0);[x12,n12]=sigshift(x,n,-2);
[x1,n1]=sigadd(2*exp(0.5*n).*x11,n11,cos(0.1*pi*n).*x12,n12);
stem(n1,x1);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).