































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A part of lecture notes from a university course on matlab and numerical computing. It covers the topics of probability and random numbers, including uniform probability distribution, pseudorandom numbers, and generating random integers using matlab's rand and round functions. The document also includes examples and exercises.
Typology: Study notes
1 / 39
This page cannot be seen from the preview
Don't miss anything!
































User-defined functions^ ^
Examples with varying numbers of input and output parameters Local memory space
Probability and random numbers 1-d array—vector More MATLAB graphics
Prelim 1 will be returned at end of lecture. If your paperisn’t here, pick it up from CS1112 consultants in ACCELduring consulting hrs (today after 4pm) Read from
Insight
February 24, 2009
Lecture 11
February 24, 2009
Lecture 11
February 24, 2009
Lecture 11
February 24, 2009
Lecture 11
1
2
3
4
5
6
score
February 24, 2009
Lecture 11
.^
-4^ -
7
x
1 2
3
4 5
6
February 24, 2009
Lecture 11
(rand(1)6)*
February 24, 2009
Lecture 11
round(rand(1)6)*
February 24, 2009
Lecture 11
round(rand(1)6)*
(rand(1)6)*
February 24, 2009
Lecture 11
round(rand(1)6)*
ceil(rand(1)6)* 2
February 24, 2009
Lecture 11
February 24, 2009
Lecture 11
February 24, 2009
Lecture 11
February 24, 2009
Lecture 11 3