Question: Now that you've created this new function, we're going to use it to brute -force optimize our values of? and a, with a goal
Now that you've created this new function, we're going to use it to brute -force optimize our values of? and a, with a goal of minimizing RMSE. Add code to Homework4_MatlabProbs.m to carry out this optimization in both parameters simultaneously, over the pre-specified ranges. Keep all other parameters at their original values from problem 3a. Create a 3D surface plot of the resultant RMSEs versus ? and a. Note that this optimization should take several minutes to run. Hint: this code will look very similar to the optimization code we used in MATLAB Problem 1. Insert your 3D surface plot here. RMSE 0.2- 0.15 0.1 0.05 0 15 10 5 00 Alpha 2 Damping Constant b [Nm/s] 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
