I run this code and I get error. (the error is for function y which contains function x in its defenition). how can i fix this error? (The functions x and y are discrete signals)
syms n y xn=-10:1:10;x=dirac(n+1)+dirac(-n+4)-2*heaviside(n+3);y(n)=x(n)-x(2*n+3);plot(x,'o');plot(y,'o');
Best Answer