Design a feed forward multi-layer neural network to approximate the function y=sin(x1)+cos(x2). Here, -5...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design a feed forward multi-layer neural network to approximate the function y=sin(x1)+cos(x2). Here, -5<x1<5 and 0<x2<5. Please use x1 = (rand(1,50)-0.5)*10; x2 = rand(1,50)*5; to get the samples to train the neural network. Finally, please draw the prediction error series y - ynet for the inputs x1=-5:0.1:5 and x2-D0:0.05:5. Design a feed forward multi-layer neural network to approximate the function y=sin(x1)+cos(x2). Here, -5<x1<5 and 0<x2<5. Please use x1 = (rand(1,50)-0.5)*10; x2 = rand(1,50)*5; to get the samples to train the neural network. Finally, please draw the prediction error series y - ynet for the inputs x1=-5:0.1:5 and x2-D0:0.05:5.
Expert Answer:
Answer rating: 100% (QA)
Pls use the below code on Matlab clc clear all close all create input and target for ... View the full answer
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
To accurately approximate sin x and cos x for inclusion in a mathematical library, we first restrict their domains. Given a real number x, divide by to obtain the relation |x| = M + s, where M is an...
-
The article ??Application of Radial Basis Function Neural Networks in Optimization of Hard Turning of AISI D2 Cold- Worked Tool Steel With a Ceramic Tool?? (S. Basak, U. Dixit, and J. Davim, Journal...
-
The graph of x cos x + y sin = d is a line. Show that the perpendicular distance from the origin to this line is |d| by making a rotation of axes through the angle a.
-
Misty Cumbie worked as a waitress at the Vita Caf in Portland, Oregon. The caf was owned and operated by Woody Woo, Inc. Woody Woo paid its servers an hourly wage that was higher than the states...
-
What types of communication may be protected by the attorney-client or accountant-client privilege? What is the philosophical basis for the privilege? Has the accountant-client privilege always...
-
Par Corporation acquired a 70 percent interest in Sul Corporation's outstanding voting common stock on January 1, 2011, for $980,000 cash. The stockholders' equity (book value) of Sul on this date...
-
Analyze the Frank-Kamenetskii problem for the three standard geometries of slab, cylinder, and sphere. You will need to discretize the operators suitably for the cylinder and sphere. Plot the...
-
The bookkeeper for Willingham Corporation made these errors in journalizing and posting. 1. A credit posting of $400 to Accounts Receivable was omitted. 2. A debit posting of $750 for Prepaid...
-
Discuss what is currently happening at Cape union mart in terms of digital marketing strategy and what they should do to increase company revenue whilst maintaining service levels and building online...
-
Consolidation related simulation example: Millennium Capital Management, Inc., (MCM) acquired a 90% interest in NextGen, Inc. MCM's Financial Manager, Matthew Steven, has prepared a draft memo to the...
-
Given Z; are IID N(0, 1) random variables, specify the distribution of the following quantity: (a)V3. z+z+z (b) Z+Z Z + Z+2+Z
-
Demonstrates the good knowledge of health problem including most of the social determinants and behavioral determinants? Explain briefly
-
How does McDonalds handle its expatriate managers? Does McDonalds have issues or challenges related to expatriates?
-
1. What are some critical success factors for effectively conducting an HRIS needs analysis? 2. How do companies use an RFP when searching for software? What are the key elements that should be...
-
How do institutional power structures shape the dynamics of political decision-making within contemporary societies?
-
QUESTION 1 Explains the concept of Strategic Human Resource Management (SHRM) and its dependence on integration or adjustment. Referring to the best fit model among HR practices (Inyang 2010), how...
-
Irving Corp. has no debt but can borrow at 7 percent. The firm's WACC is currently 12 percent, and there is no corporate tax. a. What is the company's cost of equity? (Do not round intermediate...
-
Cornell and Roberts are partners who agree to admit Stanley to their partnership. Cornell has a capital balance of $80,000 and Roberts has a capital balance of $120,000. Cornell and Roberts share net...
-
In the article Assessment of Dermatopharmacokinetic Approach in the Bioequivalence Determination of Topical Tretinoin Gel Products (L. Pershing, J. Nelson, et al., Journal of the American Academy of...
-
The boiling point of water is measured four times. The results are 110.01C, 110.02C, 109.99C, and 110.01C. Which of the following statements best describes this measuring process? i. Accurate but not...
-
Refer to Exercise 9. a. Find a 90% upper confidence bound for the mean weight. b. Someone says that the mean weight is less than 1.585 g. With what level of confidence can this statement be made?...
-
In the FRED database, find a variable that is available in both a seasonally adjusted form and a not seasonally adjusted form. Plot both over time and describe how large the seasonal variation in the...
-
How does each of the following variables behave over the business cycle? Develop graphs to show your results and give economic explanations. a. Real imports b. Federal government receipts c. Housing...
-
An economic variable is persistent if declines in the variable tend to be followed by more declines, and increases by more increases. This question asks you to study the persistence of the civilian...
Study smarter with the SolutionInn App