(c) Which of the comments corresponds to the code in the lines denoted with (1), (2), (3) and (5)? (1) design matrix for a linear model design matrix for a quadratic model matrix for polynomial interpolation matrix for spline interpolation (2) solve non-linear equation solve normal equation solve quadratic equation project X onto Y (3) draw model as a solid curve draw model as single dots (5) оо draw measurements as linear spline draw measurements as single dots draw model as a solid curve draw model as single dots draw measurements as linear spline dras measurements as single dots % read in data data = xm ут csvread('measurements.csv'); data(:,1); % 50 measurements for x data (:,2); % 50 measurements for y M = [ones (size (xm)), xm, xm.^2]; % b = (MM) (-1) *M'*y; % (1) (2) & display results. figure (1), clf, hold on prepare figure plot (xm, ym, ' . '); 응 (3) linspace (min (xm), max (xm),200); % define values for x & determine predicted model values y = plot (x, y,'-') & (4) (5) Please answer the following multiple choice questions in part a.), b.) and c.): (a) Which numerical method has been used in the above given example? polynomial interpolation numerical differentiation least-squares regression numerical integration (b) Choose the correct code that needs to be put into the line denoted with the number (4): (4) O О y y = 1+b(2) + b(3) ; 1 + x + x.^2 ; y = b (1) = b (1) y = b (2) *x + b (3) *x. ^2 ; + b (2) *x ;
(c) Which of the comments corresponds to the code in the lines denoted with (1), (2), (3) and (5)? (1) design matrix for a linear model design matrix for a quadratic model matrix for polynomial interpolation matrix for spline interpolation (2) solve non-linear equation solve normal equation solve quadratic equation project X onto Y (3) draw model as a solid curve draw model as single dots (5) оо draw measurements as linear spline draw measurements as single dots draw model as a solid curve draw model as single dots draw measurements as linear spline dras measurements as single dots % read in data data = xm ут csvread('measurements.csv'); data(:,1); % 50 measurements for x data (:,2); % 50 measurements for y M = [ones (size (xm)), xm, xm.^2]; % b = (MM) (-1) *M'*y; % (1) (2) & display results. figure (1), clf, hold on prepare figure plot (xm, ym, ' . '); 응 (3) linspace (min (xm), max (xm),200); % define values for x & determine predicted model values y = plot (x, y,'-') & (4) (5) Please answer the following multiple choice questions in part a.), b.) and c.): (a) Which numerical method has been used in the above given example? polynomial interpolation numerical differentiation least-squares regression numerical integration (b) Choose the correct code that needs to be put into the line denoted with the number (4): (4) O О y y = 1+b(2) + b(3) ; 1 + x + x.^2 ; y = b (1) = b (1) y = b (2) *x + b (3) *x. ^2 ; + b (2) *x ;
Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,