Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Matlab (40%) 3.1 You have a dataset of 7 measurements of solar power collected by a panel, sampled every hour at discrete times

 

3. Matlab (40%) 3.1 You have a dataset of 7 measurements of solar power collected by a panel, sampled every hour at discrete times tn with the following values f(tn): t [4] 0 1 2 3 f(t) [W] 0.1201 4.7509 8.4490 10.3328 4 9.3699 5 5.8497 1.7147 t=[0 1 2 3 4 5 6]; f=[0.1201 4.7509 8.4490 10.3328 9.3699 5.8497 1.7147]; a) Write a Matlab program that interpolates a full polynomial to the dataset! (5) b) Write a Matlab program that approximates the data by a 5th degree polynomial! (5) c) Write a Matlab program that interpolates the data by a cubic spline! How do you evaluate, using the spline, the function at t=3.5 (5)

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_2

Step: 3

blur-text-image_3

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

Introduction to Management Science

Authors: Bernard W. Taylor

11th Edition

132751917, 978-0132751919

More Books

Students also viewed these Programming questions