Question: In matlab 1. Write a function called vandermonde that takes two arguments, n and d, where n is the number of points and d is

In matlab
1. Write a function called vandermonde that takes two arguments, n and d, where n is the number of points and d is degree of polynomial, and returns the Vandermonde matrix of size nx (d 1) The values xi, ,xn that you use should be evenly spaced in the interval [-1, 1], with x,--1 and xn- 1. As a check, 1-1 1 1 0 0,vandermonde (4,1) returns vandermonde(3,2) returns 1 1/3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
