Class Homework 1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

1.

Create a distribution similar to the example in your textbook, for a random number ranging from -1 to 1, but excluding values between -0.5 and 0.5. Create figures comparing averages of different numbers of distributions, similar to figure 2.1. What is the difference between the plots using the author s distribution and the one posed in this problem, if any? 2. Use the randn function and the low pass filtering function developed by the textbook author in Example 2.2. The sampling rate of a typical EEG system is 500 hertz, so create a data set with a sampling rate of 500 samples per second. The typical EEG frequency ranges of interest are 0 to 50 hertz. Use the autocorrelation function in Matlab to illustrate the difference between the autocorrelation of the raw data set compared to the band limited data set. 3. Repeat the exercise in problem 2, only use two different randomly generated signals and look at the cross-correlation function.

You might also like