I have to following problem that I would like to solve.
I have a vector of coefficients $V = [a_N, \ldots ,a_1, a_0]$ which represents the coefficients of a polynomial $P$, i.e.: $$ P(x) = a_N x^N + ... + a_1 x + a_0 $$
I would like to write an algorithm for shifting the curve on the horizontal axis, i.e., given a shift factor $h$ I would like to find a generalized way for automatically writing the coefficients of the polynomial: $$ P(x-h) = a_N (x-h)^N + \ldots + a_1(x-h) + a_0 $$ on MATLAB, without computing them at hand.
Thanks in advance.