Please at least set up the matrix equations. If you can do the MATLAB portion th
ID: 3792124 • Letter: P
Question
Please at least set up the matrix equations. If you can do the MATLAB portion that would be great, but isn't necessary.
Thanks!
Below you will find data from the measurement of yield taken at different temperatures Using the Vandermonde matrix (the matrix method discussed in class) set-up the matrix equations that you would use to solve for the coefficients of a 1", 230, and 3ra order polynomials. You may then use MATLAB to perform the solution of this overdetermined system of equations (make sure to document what you are using MATLAB to do...you do not need to do the matrix math by hand). Include a plot of the data and the three regression equations that you derived. i Temperature Yield 3.3 30 28 30 29 70 2.3 70 2.6 70 21 80 80 29 80 24 10 90 3.0 90 3.1 12 90 28 13 100 3.3 100 100 3.0Explanation / Answer
The matrix is described by the formula A(i,j)=v(i)(Nj)
such that its columns are powers of the vector v
In matlab we can write the code as:
Here v will create a vector matrix and A will create the vander matrix as per the above formula.