Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3) For the data x = linspace(0,6,20); y 11.40. 1.76, 2.66,4.28, 5.58, 5,98, 7.58, 9.07, 11.33, 10.14, 10.47,10.24, 8.74, 8.70, 6.52, 5.30, 3.51, 3.09, 1.78,

image text in transcribed
3) For the data x = linspace(0,6,20); y 11.40. 1.76, 2.66,4.28, 5.58, 5,98, 7.58, 9.07, 11.33, 10.14, 10.47,10.24, 8.74, 8.70, 6.52, 5.30, 3.51, 3.09, 1.78, 1.86]: a) Use first order forward difference to plot the derivative of the data. b) Use Matlab's max function to find the x value at which the maximum y value occurs. Report this x value. (HINT: you can use [maxY, maxXInd] max(y)i maxx x(maxxInd)) c) Use Matlab's fminsearch command to find a least-squares regression fit of the data, using the non-linear modelAexp(B(u)) Plot the data and show your fit on the same plot. Use a guess of A 15, B 0.3, and C 5 d) Based on the non-linear model in c), find the r value at which the maximum y value occurs Report this x value 3) For the data x = linspace(0,6,20); y 11.40. 1.76, 2.66,4.28, 5.58, 5,98, 7.58, 9.07, 11.33, 10.14, 10.47,10.24, 8.74, 8.70, 6.52, 5.30, 3.51, 3.09, 1.78, 1.86]: a) Use first order forward difference to plot the derivative of the data. b) Use Matlab's max function to find the x value at which the maximum y value occurs. Report this x value. (HINT: you can use [maxY, maxXInd] max(y)i maxx x(maxxInd)) c) Use Matlab's fminsearch command to find a least-squares regression fit of the data, using the non-linear modelAexp(B(u)) Plot the data and show your fit on the same plot. Use a guess of A 15, B 0.3, and C 5 d) Based on the non-linear model in c), find the r value at which the maximum y value occurs Report this x value

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions

Question

Explain how interest is received on most money market instruments.

Answered: 1 week ago

Question

5. A review of the key behaviors is included.

Answered: 1 week ago