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.
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...
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.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fabd5023c-5c8b-4c6f-9100-4034575d53d2%2Fe05e73b8-f45b-49bf-8280-bf8a8460d105%2F78iokh_processed.jpeg&w=3840&q=75)
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

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 with 2 images

Recommended textbooks for you

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY