% EXERCISE:     THE PROPERTIES OF WHITE NOISE
%
% Program:      guassian_noise.m
% Written by:   
% For:          EE 311
%               Exercise For Computer Lab 3
% Date:         7-16-2001
% Purpose:      This exercis is designed to help you
%               learn about normal guassian noise.
clear all, clf reset, close all

fs=3000;
x=rand(1,3000);     % 3000 samples of random normal noise
x_max=max(x);       % To keep from over-driving the sound card
sound(x/x_max,fs);  % Listen to noise

%************************************************************************
% Exercises:                                                            *
% NOTE: Run this m-file before doing the assignment. You will need some *
%       of the data in this file stored in memory.                      *
%                                                                       *
% 1.) What does the output sound like?                                  *
%                                                                       *
% 2.) Use the spectrm tool to analyse the random normal variable x.     *
%     Why do they call it white noise? (HINT: Think of what makes up    *
%     white light.)                                                     *
%                                                                       *
%************************************************************************