Question: Question 1 Create a Matlab m-file script to read the data of example 2.3 (page 21) from an excel spreadsheet and calculate the following errors


Question 1 Create a Matlab m-file script to read the data of example 2.3 (page 21) from an excel spreadsheet and calculate the following errors as explained in example 2.3 of the textbook. Explain and show how each of the following errors were calculated in your report with a screenshot of the results for each from your Matlab run. i. Accuracy limits (actual value and also as a percentage of the output span) ii. Linearity error (actual & as a % of span) iii. Repeatability error (actual & as a % of span) iv. Hysteresis error (actual & as a % of span) Maximum systematic error (actual & as a % of span) V. Also generate the following plots from your Matlab program: i. The linear fit plot from the scale readings similar to Figure E2.3(b) (page 21) ii. The deviation plot similar to Figure E2.3(C) (page 22) and iii. The average deviation plot similar to Figure E2.3(d) (page 23) Question 2 Use an excel spreadsheet to resolve Question 1 above. In addition, generate the Scale Deviation Data results of Table E2.3(b) (page 22). Cycle 1 Cycle 2 0.2 0.7 Cycle 6 0.11 0.7 1.23 1.88 2.53 1.8 True Weight (lb) 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 2.62 3.15 3.9 4.59 5.41 6.24 5.71 4.96 4.22 3.57 2.98 2.22 1.57 1.07 0.52 0.02 1.81 2.49 3.18 3.84 4.71 5.35 6.27 5.74 5.11 4.34 3.64 2.86 2.23 1.7 1.07 0.61 0.08 Scale Reading Cycle 3 Cycle 4 0.08 0.17 0.78 0.64 1.26 1.25 1.93 1.81 2.46 2.46 3.24 3.28 3.86 3.97 4.61 4.6 5.49 5.46 6.1 6.24 5.78 5.87 5.08 5.03 4.21 4.22 3.66 3.55 2.98 2.98 2.26 2.29 1.69 1.63 1.11 1.16 0.61 0.61 0.08 -0.03 Cycle 5 0.19 0.61 1.24 1.93 2.58 3.13 3.96 4.6 5.39 6.16 5.82 5.03 4.24 3.67 2.94 2.26 1.57 1.11 0.45 0.06 Question 1 Create a Matlab m-file script to read the data of example 2.3 (page 21) from an excel spreadsheet and calculate the following errors as explained in example 2.3 of the textbook. Explain and show how each of the following errors were calculated in your report with a screenshot of the results for each from your Matlab run. i. Accuracy limits (actual value and also as a percentage of the output span) ii. Linearity error (actual & as a % of span) iii. Repeatability error (actual & as a % of span) iv. Hysteresis error (actual & as a % of span) Maximum systematic error (actual & as a % of span) V. Also generate the following plots from your Matlab program: i. The linear fit plot from the scale readings similar to Figure E2.3(b) (page 21) ii. The deviation plot similar to Figure E2.3(C) (page 22) and iii. The average deviation plot similar to Figure E2.3(d) (page 23) Question 2 Use an excel spreadsheet to resolve Question 1 above. In addition, generate the Scale Deviation Data results of Table E2.3(b) (page 22). Cycle 1 Cycle 2 0.2 0.7 Cycle 6 0.11 0.7 1.23 1.88 2.53 1.8 True Weight (lb) 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 2.62 3.15 3.9 4.59 5.41 6.24 5.71 4.96 4.22 3.57 2.98 2.22 1.57 1.07 0.52 0.02 1.81 2.49 3.18 3.84 4.71 5.35 6.27 5.74 5.11 4.34 3.64 2.86 2.23 1.7 1.07 0.61 0.08 Scale Reading Cycle 3 Cycle 4 0.08 0.17 0.78 0.64 1.26 1.25 1.93 1.81 2.46 2.46 3.24 3.28 3.86 3.97 4.61 4.6 5.49 5.46 6.1 6.24 5.78 5.87 5.08 5.03 4.21 4.22 3.66 3.55 2.98 2.98 2.26 2.29 1.69 1.63 1.11 1.16 0.61 0.61 0.08 -0.03 Cycle 5 0.19 0.61 1.24 1.93 2.58 3.13 3.96 4.6 5.39 6.16 5.82 5.03 4.24 3.67 2.94 2.26 1.57 1.11 0.45 0.06
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
