Question: Code in Matlab Part B: Lagrange Interpolation 1. Write a function to calculate the lagrange coefficient Li at an xi function Lj = lagrange Inter(j,

Code in Matlab
Part B: Lagrange Interpolation 1. Write a function to calculate the lagrange coefficient Li at an xi function Lj = lagrange Inter(j, x, xi) Input: j: value to be skipped X: [x0, x1, ..., xn] xi: value to be evaluated at. Ouput: Lj: vector contains lagrange coefficient in the expansion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
