Suppose we want to to fit an arbitrary function f(t) with a polynomial of(adsbygoogle = window.adsbygoogle || []).push({});

degree n - 1 using the values of the function in an arbitrary set of points z = [z1; z2; : : : ; zm].

how would do i construct the least squares problem Ax=b. in other words, how would i construct the matrix A and b in terms of f(t) and z ?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How do i construct a design matrix for a least square problem?

**Physics Forums | Science Articles, Homework Help, Discussion**