P = gs_normalize(P,w,lb,ub) return normalized polynomials in P by replacing monomials in A with the given moments instead of computing the integrals.
Published with MATLAB® R2013b