# L7 - OPTI 280 Computer Programming Workshop Robin Palit...

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

OPTI 280 Spring 2010 Lecture 7 R. Palit 1 OPTI 280: Computer Programming Workshop Robin Palit College of Optical Sciences University of Arizona [email protected]

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

View Full Document
OPTI 280 Spring 2010 Lecture 7 R. Palit 2 Lesson Plan Review of Quizzes 1 & 2 Histograms Probability Distributions Uniform Poisson Gaussian Subplots Sorting
OPTI 280 Spring 2010 Lecture 7 R. Palit 3 Histogram A statistical chart that graphically display frequencies (number of occurrences) of a variable. The bin size is important. In MatLab you can either specify the bin size or the bin centers. Application in digital imaging

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

View Full Document
OPTI 280 Spring 2010 Lecture 7 R. Palit 4 Histogram Histogram can be used to bin data to show trends. Spring 2010 - OPTI 280, mid-term grade distribution number of occurrences percentage
OPTI 280 Spring 2010 Lecture 7 R. Palit 5 Probability Distributions Histograms of random data may show trends that can be associated with a probability distribution. A continuous probability distribution identifies the probability of the value of a random variable falling within a particular interval. A discrete probability distribution identifies the probability of the value of a random variable. Probability density function (PDF) displays the probability of random variations about some mean value.

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

View Full Document
OPTI 280 Spring 2010 Lecture 7 R. Palit 6 Uniform Distribution All random variables within the support of a uniform distribution occur with equal probability. pr( x ) = 1 b a , a x b 0 , otherwise Χ Ψ Ω a = 2 b = 8 Probability density function (PDF)
R. Palit 7 Uniform Distribution rand() function can be used to sample random variables from a uniform distribution on the interval x = [0,1]. Output of the rand() function can be modified to sample random variables from a uniform distribution on the interval x = [a,b]. x = a + (b-a).*rand()

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

### Page1 / 23

L7 - OPTI 280 Computer Programming Workshop Robin Palit...

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

View Full Document
Ask a homework question - tutors are online