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 tdata, and xdata 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 erms CalcRMSError zeta wn tdata, xdata
erms 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 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 of the values you guessed in Problem b:
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
