MATLAB: Solve Difference Equations symbolically

difference equations solve_recMATLAB

Hello, how to solve difference equations symbolically?
in another application called Maxima, there is a function called solve_rec

Best Answer

i think i found the answer: the solver is a MuPad one:
syms y(n);
y(n)=evalin(symengine,'solve(rec(y(n)=y(n-1)+y(n-2),y(n),y(0)=0,y(1)=1}))');
double(y(7))