MATLAB 6.27 Develop a function that will calculate slope m and intercept b of the least-squares line that best fits an input data set. The input data points (x,y) will be passed tothe function in two input arrays, x and y. Test your function using a test program and the following 20-point data set:
Sample Data set
1 x=-4.91 y=-8.18
2 x=-3.84 y=-7.49
3 x=-2.41 y=-7.11
4 x=-2.62 y=-6.15
5 x=-3.78 y=-6.62
6 x=-0.52 y=-3.30
7 x=-1.83 y=-2.05
8 x=-2.01 y=-2.83
9 x=0.28 y=-1.16
10 x=1.08 y=0.52
11 x=-0.94 y=0.21
12 x=0.59 y=1.73
13 x=0.69 y=3.96
14 x=3.04 y=4.26
15 x=1.01 y=6.75
16 x=3.60 y=6.67
17 x=4.53 y=7.70
18 x=6.13 y=7.31
19 x=4.43 y=9.05
20 x=4.12 y=10.95
We need at least 10 more requests to produce the answer.
0 / 10 have requested this problem solution
The more requests, the faster the answer.
MATLAB 6.27 Develop a function that will calculate slope m and intercept b of the least-squares...
1. Two manufacturing processes are being compared to try to reduce the number of defective products made. During 8 shifts for each process, the following results were observed: Line A Line B n 181 | 187 Based on a 5% significance level, did line B have a larger average than line A? *Use the tables I gave you in the handouts for the critical values *Use the appropriate test statistic value, NOT the p-value method *Use and show the 5...