Question: Develop a Matlab function myFitExam that finds the best fit of the function p ( t ) = 1 a t 3 + b t
Develop a Matlab function myFitExam that finds the best fit of the function
to a given set of data points using regression.
The function input shall be
: column vector of data values
: column vector of data values
The function output shall be
a: scalar containing the best fit coefficient
b: scalar containing the best fit coefficient
c: scalar containing the best fit coefficient
d: scalar containing the best fit coefficient
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
