Hi, I have two arrays x(n),y(n) and I want to calculate y(n)=2x(n)-3x(n-1)-.6814y(n-4) from n=0 to a specific integer. I know a negative index doesn't make sense. So I need to set x(i)=0,y(i)=0 when i is negative.
How can I do this?
Thanks in advance.
Chuan
Best Answer