Question: Please do in Matlab For the following nonlinear function: y = .2(sin( 107rr))2 + 0.4x4. (a) We desire to fit a linear function of the
Please do in Matlab
For the following nonlinear function: y = .2(sin( 107rr))2 + 0.4x4. (a) We desire to fit a linear function of the form: y = Asin(x) + Bx Find A and B to minimize the least squares error between the two functions evaluated over x-1:.001:1. (b) Plot both the original function and your linear fit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
