132B_1_Recitation8_Computer_Assignment

# 132B_1_Recitation8_Computer_Assignment - EE132B -...

This preview shows pages 1–5. Sign up to view the full content.

EE132B - Recitation 8 Computer Assignment # 1 Prof. Izhak Rubin [email protected] Electrical Engineering Department UCLA

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Admin Computer Assignment #1 – Turn in code, graphs, results – Specify the software/language used (e.g. MATLAB) • SEASLAB – MATLAB is activated – Remote desktop login 2
Part A1 Part A1 – Generate a stream of i.i.d. random variables U = {U n , 1<= n <= N} which are uniformly distributed over [0, 1] for N = 1000, 5000 and 10000 Hints – Use computer’s random number generator – Give random number generator different seeds for different runs, so we get different results on each trial. – Ensure the resulting r.v.s are uniform on [0, 1] – For each of these 3 streams ( N = 1000, 5000 and 10000) draw probability distribution histogram. – For each of the three runs, compute the means and variances. Compare results with computed (analytical) values. 3

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Part A1 Sample mean and variance Analytical results For a uniform r.v. U[a, b] • Mean • Variance n 2 NN 2 i i N 2 11 When the variables {X ,1
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 01/12/2011 for the course EE 132B taught by Professor Izhakrubin during the Fall '09 term at UCLA.

### Page1 / 11

132B_1_Recitation8_Computer_Assignment - EE132B -...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online