Question: Computer Science - MATLAB Given in the data file (info.dat), where the first column is the y values and the second column is
Computer Science - MATLAB

Given in the data file (info.dat), where the first column is the "y" values and the second column is the "x" values .
equation1.dat
+4.60000E-01 +2.39944E-08 +5.00000E-01 +5.47030E-08 +9.70000E-01 +1.15987E-03 +1.21200E+00 +1.90309E-01 +1.24300E+00 +4.21568E-01
Write a MATLAB code to import the associated data using the given dat file and find the variable y in terms of variable x using;
a) Least squares approximation
b) Lagrange interpolation
SUFFICIENT INFORMATION HAS BEEN GIVEN TO SOLVE THIS PROBLEM. If you don't understand the question, you don't have to solve the question.
When I get the correct answer, I will give a thumbs up fast. THANK YOU FOR YOUR TIME.
y = ln (x) x 2 Eq. 1 y = ln (x) x 2 Eq. 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
