Applied Numerical Methods with MATLAB for Engineers and Scientists(4th Edition) Summary: Please resolveProblem 17.24 inmatlab using Newton's interpolation: 1) Create a blank excel file, and copy the...

1 answer below »
Applied Numerical Methods with MATLAB for Engineers and Scientists(4th Edition)
Summary:

Please resolveProblem 17.24 inmatlab using Newton's interpolation:


1) Create a blank excel file, and copy the table given in the problem statement into it.


2) Use the Matlab xlsread command to read the data into matlab from the excel file:



https://www.mathworks.com/help/matlab/ref/xlsread.html#mw_2b66895a-270a-4fe2-aeda-ee9d833839a2


3) Write a subroutine that performs the two interpolations by programming either the Newton or Lagrange formulas into matlab. Below are the requirements for the subroutine:



  • It should accept either 2 or 3 sets of (x,y) coordinates. In order to allow your subroutine to accept avariablenumber of inputs, you should use these commands:



https://www.mathworks.com/help/matlab/ref/varargin.html



https://www.mathworks.com/help/matlab/ref/nargin.html


also see this example



http://matlab.izmiran.ru/help/techdoc/matlab_prog/ch05_m17.html



  • If your subroutine receives 2 sets, then it should usefirstorderinterpolation; but if it receives 3 sets of data, it should

Answered Same DayApr 05, 2021

Answer To: Applied Numerical Methods with MATLAB for Engineers and Scientists(4th Edition) Summary: Please...

Harsimran answered on Apr 06 2021
154 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here