P = gs_ortho_emp(P,A,mom) orthogonalization of polynomials in P by Gram-Schmidt procedure. Computing the inner product by replacing monomials in A with the given moments instead of computing the integrals.
Published with MATLAB® R2013b