1. Consider some masurement data is given below. [1.14 1.22 1.42 1.53 1.93 2.07 2.31 2.56 2.61 3.01 3.34 3.65 3.87 4.02 4.11 4.32 4.59 4.77 4.93 5.14]; X = y = [2.21 3.31 2.66 3.13 4.11 4.56 3.98 4.37 5.42 5.23 5.51 5.83 5.98 6.12 6.43 6.88 7.24 7.40 7.78 7.99]; i) Find linear function which minimizes root mean square error for the given data. (Write analytical expression explicitly.) ii) Plot the measurement data and the linear function in a same figure. (Consider "scatter, plot, hold on" commands for MATLAB). iii) Calculate the minimum root mean square error. iv) Calculate the relative percentage error for "x = 1.22, 2.61, 4.59" points.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

python plz

1. Consider some masurement data is given below.
X =
[1.14 1.22 1.42 1.53 1.93 2.07 2.31 2.56 2.61 3.01 3.34 3.65 3.87
4.02 4.11 4.32 4.59 4.77 4.93 5.14];
y
[2.21 3.31 2.66 3.13 4.11 4.56 3.98 4.37 5.42 5.23 5.51 5.83 5.98
6.12 6.43 6.88 7.24 7.40 7.78 7.99];
i) Find linear function which minimizes root mean square error for the given data. (Write
analytical expression explicitly.)
ii) Plot the measurement data and the linear function in a same figure. (Consider "scatter, plot,
hold on" commands for MATLAB).
iii) Calculate the minimum root mean square error.
iv) Calculate the relative percentage error for "x = 1.22, 2.61, 4.59" points.
Transcribed Image Text:1. Consider some masurement data is given below. X = [1.14 1.22 1.42 1.53 1.93 2.07 2.31 2.56 2.61 3.01 3.34 3.65 3.87 4.02 4.11 4.32 4.59 4.77 4.93 5.14]; y [2.21 3.31 2.66 3.13 4.11 4.56 3.98 4.37 5.42 5.23 5.51 5.83 5.98 6.12 6.43 6.88 7.24 7.40 7.78 7.99]; i) Find linear function which minimizes root mean square error for the given data. (Write analytical expression explicitly.) ii) Plot the measurement data and the linear function in a same figure. (Consider "scatter, plot, hold on" commands for MATLAB). iii) Calculate the minimum root mean square error. iv) Calculate the relative percentage error for "x = 1.22, 2.61, 4.59" points.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY