I have done in this way
n=0:10;
a = [8 -2 -1]; % left hand side of difference equation
b = [1 1 0]; % right hand side of difference equation
x=2.^n;
k=filter(b,a,x)
plot(n,k)
Is it correct How to cater for initial conditions y[-1]=0 and y[0]=1