Question: Ztransform with initial conditions

Is it possible to perform a Ztransform with initial conditions in Maple?

I want to calculate the Ztransfrom of following differrence equation.

Dv:=3*y(k)-4*y(k-1)+4*y(k-2)=(1/2)^k*Heaviside(k)

With.

y(-1) = 1

y(-2) = 2

For now I am using following command.

Opl:=ztrans(Dv,k,z);

I suppose that this command uses initial conditions zero.

 

Thank you in advance,

 

 

Please Wait...