This preview shows pages 1–2. Sign up to view the full content.
Rensselaer
Electrical, Computer, and Systems Engineering Department
ECSE 4500 Probability for Engineering Applications
MATLAB Recitation
Solutions
Tuesday February 16, 2010
1. Before using MATLAB as a tool for various functions of interest in probability, we review
a brief list of common commands:
size
,
length
,
plot
,
axis
,
hold on
,
hold o
f
and
for .
.. end
.
Apart from these we also review how arrays and matrices are declared and used in MATLAB.
Ans:
These simple commands were explained in the session. Alternatively, at the MATLAB
prompt there is help available as:
help
<
name
>
,e
.g
.
help size
,
help axis
, etc.
2. Next we look at the 3 M
f
les available on the course LMS page. These include
DetermFreq.m
,
RelFreq.m
,and
RelativeFrequencies.m
. P
leaserunthecodeforsevera
ld
i
f
erent parameter
values and explain the results.
Ans:
We see three programs that demonstrate at least apparent convergence of relative
frequencies.
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.
 Spring '08
 WOODS

Click to edit the document details