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

1 reply · 3K views · last reply
papasmurfff
Messages
3
Reaction score
0
Suppose we want to to fit an arbitrary function f(t) with a polynomial of
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 ?
 
...using the values of the function in an arbitrary set of points z...

Not sure what you mean here. Do you know the relationship of t to z?