Course Number and Name

:
ME 646: Experimental Measurement and Data Analysis

Semester and Year:
Spring, 2012
Name of Lab Instructor:
Ronald Goulet
Lab Section and Meeting Time:
Section 4: Thursday 2-5PM

Report Type:
Individual internal

Title of Experiment:
Introduction to Matlab
Date Experiment Performed:
Thursday, February 9
th
2012
Date Report Submitted:
Wednesday, February 15
th
2012
Names of Group Members:
Pat O’Brien
Grader's Comments:


Grade:





Create PDF files without this message by purchasing novaPDF printer (http://www.novapdf.com)
Part II: Curve Fitting

Figure 1 illustrates calibration data from a Kistler 6125A piezoelectric pressure transducer. The
blue boxes were the samples taken while the line is a linear fit to the calibration data.

QII.1: The sensitivity of the transducer can be found by measuring the slope of the line.

y = mx + b, (1)

Using Eq. 1 wee found the sensitivity to be .002

QII.2: Only after we zoomed in a great amount on the graph could we notice a change due to
hysteresis, therefore we decided it was valid to neglect hysteresis.

QII.3:
u = yku
c
(4)

Using Eq. 4 we obtain a value of (+)(-) .016kPa for a measurement of uncertainty.
























Figure 1 – Calibration data from a 6125A piezoelectric pressure transducer
Create PDF files without this message by purchasing novaPDF printer (http://www.novapdf.com)
Part III: Load data from a file and Create a Histogram

Figure 2 shows the histogram produced from the data in the me646_data.txt file using 50 bins.

Figure 3 shows the (X,Y) plot formed from the histogram shown in Fig. 2.

QIII.1 Fig. 3 shows a smoother data set compared to the histogram in Fig.

QIII.2 Fig. 4 resembles a normal distribution or a Gaussian probability density function.

QIII.3
a) We calculated our area using Fig. 4 and the equation below.
[
1
2
¸ b ∗ ℎ = Arco (2)
After using the above equation and the graph shown in Fig 4, we came up with an area of
.15 meaning 15% chance the data point will fall between 1 and 2 and the graph.
b) Do not have table 4.3
c) Do not have table 4.3

QIII.4 Using the same method as we did in question 3, we used Eq. 2 to solve for the area under
the whole curve. We came up with an area of .95 or 95% chance that the data point will fall
under that curve. The number theoretically should be 1 or 100% so our method was fairly
accurate.






Figure 2 – The Histogram produced from our me646_data.txt file that
we loaded into Matlab
Figure 3 – The (X,Y) graph that was produced from our Histogram
Figure 4 – The yPrime graph from our data set
Create PDF files without this message by purchasing novaPDF printer (http://www.novapdf.com)
Part VI: Differentiation and Integration
Figure 5 shows the sine and cosine function, as well as the derivative of the sine function.
Figure 6 shows the sine function, but with less sampling points. The graph illustrates what
happens when liaising occurs.
QVI.1: Using the blue curve seen in Fig. 5, we calculated the area isolated by the curve by using
Eq. 2 on the previous page. We found an area of 6.28.
QVI.2: As seen in Fig. 5, the green line and the red line are overlapped. This is because the
derivative of sine (the red circles) and the cosine function equal the same value.
QVI.3: Deri.m’s gradient matches that of Matlab’s gradient.
QVI.4: Deri.m’s area calculation was -1.838e^-15 while Matlab’s area calculation was
-3.984e^-17. Although the numbers are different, they are both extremely close to zero.
QVI.5:
∫ si n( x) Jx = cos( x)
2n
-2n
(3)
Evaluating Eq. 3, from -2π to 2π = 1-1 = 0. Calculating the area by hand gives us a perfect zero
output. It is more accurate than Matlab’s because Matlab has minute interfering inputs.
QVI.6: When you decrease the sampling rate to a small enough number you begin to see
aliasing. This produces an inaccurate graph as seen in Fig. 6.
Figure 5 – Blue line represents the Sine function. The green
line represents the cosine function. The red circles
represent the derivative of the sine function.
Figure 6 – Sine function after the “n” value, or the sampling
rate, has been decreased.
Create PDF files without this message by purchasing novaPDF printer (http://www.novapdf.com)
Introduction to JMP

Part VII: Opening Data Files and Creating Fit Curve

QVII.1: JMP produces the same graph, however, JMP provides us with data points on the graph.

Part VIII: Loading Data from Excel and Distribution Analysis

QVIII.1: There are very few points outside of the 95% accuracy range because the data was
recorded with a very accurate device. There is very little fluctuation from the median with
accurate instruments so the 95% accuracy range leave a fair amount of room for the data points
to stray without leaving the accuracy range.

QVIII.2: All of the graphs represent a normal, or Gaussian distribution

QVIII.3: Increasing the sampling rate increases the accuracy of the probability density function’s
graph.
Create PDF files without this message by purchasing novaPDF printer (http://www.novapdf.com)

Figure 1 – Calibration data from a 6125A piezoelectric pressure transducer Create PDF files without this message by purchasing novaPDF printer (http://www. 1 wee found the sensitivity to be . therefore we decided it was valid to neglect hysteresis. QII. The blue boxes were the samples taken while the line is a linear fit to the calibration data.novapdf. QII.com) .2: Only after we zoomed in a great amount on the graph could we notice a change due to hysteresis.002 QII.3: = c (4) Using Eq. (1) Using Eq.Part II: Curve Fitting Figure 1 illustrates calibration data from a Kistler 6125A piezoelectric pressure transducer. = + .016kPa for a measurement of uncertainty.1: The sensitivity of the transducer can be found by measuring the slope of the line. 4 we obtain a value of (+)(-) .

2.15 meaning 15% chance the data point will fall between 1 and 2 and the graph.3 QIII.4 Using the same method as we did in question 3. QIII. b) Do not have table 4. 4 resembles a normal distribution or a Gaussian probability density function. Figure 2 – The Histogram produced from our me646_data. ∗ℎ = (2) After using the above equation and the graph shown in Fig 4. we came up with an area of .Part III: Load data from a file and Create a Histogram Figure 2 shows the histogram produced from the data in the me646_data. QIII.3 a) We calculated our area using Fig.txt file using 50 bins. Figure 3 shows the (X.com) . we used Eq. We came up with an area of .Y) plot formed from the histogram shown in Fig.95 or 95% chance that the data point will fall under that curve.Y) graph that was produced from our Histogram Figure 4 – The yPrime graph from our data set Create PDF files without this message by purchasing novaPDF printer (http://www. 4 and the equation below.2 Fig. QIII.1 Fig. 2 to solve for the area under the whole curve. The number theoretically should be 1 or 100% so our method was fairly accurate.novapdf. 3 shows a smoother data set compared to the histogram in Fig.txt file that we loaded into Matlab Figure 3 – The (X.3 c) Do not have table 4.

6. 5. from -2π to 2π = 1-1 = 0.984e^-17. 3. the green line and the red line are overlapped. Figure 6 – Sine function after the “n” value. Figure 5 – Blue line represents the Sine function. Create PDF files without this message by purchasing novaPDF printer (http://www.5: ∫ sin( ) = cos( ) (3) Evaluating Eq.838e^-15 while Matlab’s area calculation was -3. QVI. 5. The green line represents the cosine function. We found an area of 6.4: Deri. QVI.1: Using the blue curve seen in Fig. This is because the derivative of sine (the red circles) and the cosine function equal the same value.6: When you decrease the sampling rate to a small enough number you begin to see aliasing. or the sampling rate.2: As seen in Fig. has been decreased. QVI. QVI. but with less sampling points. QVI.Part VI: Differentiation and Integration Figure 5 shows the sine and cosine function. as well as the derivative of the sine function. The red circles represent the derivative of the sine function. 2 on the previous page. we calculated the area isolated by the curve by using Eq.3: Deri.m’s area calculation was -1.com) . Calculating the area by hand gives us a perfect zero output. Figure 6 shows the sine function. This produces an inaccurate graph as seen in Fig.28.m’s gradient matches that of Matlab’s gradient. It is more accurate than Matlab’s because Matlab has minute interfering inputs. they are both extremely close to zero. Although the numbers are different.novapdf. The graph illustrates what happens when liaising occurs. QVI.

2: All of the graphs represent a normal.1: There are very few points outside of the 95% accuracy range because the data was recorded with a very accurate device. There is very little fluctuation from the median with accurate instruments so the 95% accuracy range leave a fair amount of room for the data points to stray without leaving the accuracy range.com) .3: Increasing the sampling rate increases the accuracy of the probability density function’s graph. QVIII.1: JMP produces the same graph. Create PDF files without this message by purchasing novaPDF printer (http://www. however. or Gaussian distribution QVIII.novapdf.Introduction to JMP Part VII: Opening Data Files and Creating Fit Curve QVII. JMP provides us with data points on the graph. Part VIII: Loading Data from Excel and Distribution Analysis QVIII.

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer: Get 4 months of Scribd and The New York Times for just $1.87 per week!

Master Your Semester with a Special Offer from Scribd & The New York Times