































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
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