linear least squares problem::

fit f(t) = sin(t) on the interval [0, π] with polynomials of degree n with n = 1, 2, 3, · · · , 10. Here, we use equally spaced nodes.

Solve the normal equation with a backslash in Matlab. Save the norm of the residual and the condition numbers of AT A??

Could anybody please tell me how can find x, y, and A in that case ??

More Zuffain Hussan's questions See All
Similar questions and discussions