Exercitiul 16 - sev de la ex 14. clear variables; % pt x6 n = 0:99 mu = 0 % media sigma = 0.1 % varianta y = randn(1,100) * sqrt(mu) + sigma%zgomotul u1 = 1*(n>=0) u2 = 1*(n>=10) u3 = u1-u2 u4 = 1*(n>=20) u5 = u2 - u4 x = n.*u3 + exp(0.3*n).*u5 + y %doar se aduna y stem(n,x) clear variables; n = -5:10; x = 0.5*(1*(n==0)) stem(n,x) clear variables; n = -5:10; x = 1.5*(1*(n==5)) stem(n,x)