Question: Develop a function which receives xi , omega n , t _ data, and x _ data as input arguments and calculates the

Develop a function which receives \xi ,\omega n, t_data, and x_data as input arguments and calculates
the following error function:
Where N is the length of the measured data, xdata is the provided output data in the excel file, and
xsim is the simulated output through the provided equation.
function e_rms = CalcRMSError (zeta, wn, t_data, x_data)
...
e_rms =... Calculate function output
b. Write a short script that calculates the RMS error using your developed function for the
estimated values of \xi and \omega n from Problem 1.b. Report the value of the RMS error.
c. Carry out a brute force neighborhood search process for finding the values of \xi and \omega n which
makes the error function output as small as possible. For this, use double for loops, one for \xi
and one for \omega n. Set the range to be \pm 20% of the values you guessed in Problem 1.b:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!