4_Postlab

4_Postlab - randn to generate the signal. Type help randn...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ME365 POST-LAB EXERCISE FOR LABORATORY 4 Fall 2011 1 EXPLORING THE PC ACQUISITION SYSTEM AND EXAMING THE STATISTICS OF SAMPLED SIGNALS Answer these questions with a brief discussion supported by any necessary equations or calculations. These questions refer to items from your in-lab work. 1. Modify the Matlab code given in the Pre-Lab to reproduce the histogram of the triangular wave (20 bins) as generated by the function generator during the Lab with the following properties: frequency 3 Hz, and amplitude 3 volts (6 Volts peak to peak), maximum plot time 5s, number of points to plot 400; record the value of the mean and standard deviation by using command mean and std . 2. Using Matlab, construct a normal distributed random signal with zero mean and standard deviation of 1 (Hint: Use the MATLAB command
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: randn to generate the signal. Type help randn to find how it works). Also using the Matlab code given with maximum plot time 5s and number of points to plot 400, print the plot and record the value of the mean and standard deviation produced by mean and std command. Calculate the 68% confidence interval of the true mean based on the recorded mean and standard deviation value. 3. Using Matlab, acquire and plot the histogram (20 bins) of the cosine wave with the following properties: signal frequency 15 Hz and amplitude 3 volts (6 Volts peak to peak), select the sampling frequency to be 1 Hz. Compare to the results obtained in the Pre-lab and explain why the histogram here does not have the shape expected for a sine wave histogram....
View Full Document

This note was uploaded on 12/26/2011 for the course ME 365 taught by Professor Merkle during the Fall '07 term at Purdue.

Ask a homework question - tutors are online