Question: Water ripple: 2 D optimization The following two - dimensional function represents the height of a water ripple in centimeters as a function of its
Water ripple: D optimization
The following twodimensional function represents the height of a water ripple in centimeters as a function of its and position in meters away from its point of origin after seconds.
A Use an anonymous function for and MATLAB's mesh function. Create a D plot of the ripple from meters, and meters.
B Use an initial guess of find the location of the maximum ripple height using MATLAB's builtin function fminsearch. Use fprintf to display the results with digits to the right of the decimal point eg 'The
maximum height, units occurs at units and units
C Using MATLAB's plot and hold commands, plot a red asterisk at the maximum in the plot from part a
D Repeat parts and with an initial guess of and a black asterisk.
E In text answer the question: 'What changes between the two different initial guesses and why?
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
