Vous êtes sur la page 1sur 1

AM5610 Measurements in mechanics Assignment (Nov.

2, 2010)

clear all nsample=fix(900+100*rand); SampleAverage=37+rand; SampleData=SampleAverage+0.1*randn(nsample,1); [N,Temp]=hist(SampleData,100); %This program creates a histogram of the SampleData obtained from the %normal distribution. The variable N contains the count in each bin and %Temp contains the bin values. Please calculate a probability density %function plot of this data using the procedure discussed in class.

Please cut and paste the above text into a *.m program file and run it in MATLAB. The program creates a set of data in the array variable SampleData. The size of this array is stored in the variable nsample. The variables N and Temp contain the bin count in the histogram as well as the Temperature value associated with each bin. (i)
(ii)

(iii)

Please create a pdf of the data presented herein. Calculate the standard deviation of this data using the stdev MATLAB command. Calculate the mean and calculate the standard deviation of this mean. What is the confidence in this interval?

How many measurements are needed to arrive at the standard deviation of the mean being lower than 10-3C?

Vous aimerez peut-être aussi