(Using Matlab)We are given data about a charity organization in table 1 Days 10 20 30...

90.2K

Verified Solution

Question

Mechanical Engineering

(Using Matlab)We are given data about a charity organization intable 1 Days 10 20 30 40 50 60 70 80 90 100 Donation 23 45 60 82111 140 167 198 200 220 Table 1: Donation collection by the charityorganization Assume that x corresponds to the independent variable.Compute linear, quadratic and cubic fit for the data usingregression techniques and plot them on three different graphs, allon the same figure. Use an appropriate small interval to createyour plots. Mark the original data with green circles. Giveappropriate titles and labels for the graph. Explain in fewsentences which model best represents the data and why? Now, usethe best model to find the value of the donation collection for25th day. Print this value.

Answer & Explanation Solved by verified expert
3.9 Ratings (453 Votes)
MATLAB CODEclcclear alld10 20 30 40 50 60 70 80 90 100D23 45 60 82 111 140 167 198 200 220apolyfitdD1 Linear fitbpolyfitdD2 Quadratic    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students