Consider experimental data x y Assuming that you would like

Consider experimental data (x, y). Assuming that you would like to fit a curve through the data according to y = Ax^2 +Bcos(2x) derive the system of equations that is required to calculate the coefficients A and B. Show how you would solve the problem using MatLab.

Solution

the solution in matlab would be something like this and also we must assume some points to find the system of

equations for this so assume some values as you like for A and B

syms t

E1 = sym ( A X^2 )

E2 = sym ( B cos(2X))

E3 = E1 + E2

pretty (E1)

pretty (E2)

pretty (E3)

from these we can find out the system of equations using matlab

 Consider experimental data (x, y). Assuming that you would like to fit a curve through the data according to y = Ax^2 +Bcos(2x) derive the system of equations

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site