Assigned: 4/8/98 | Due: 4/13/98 (note the change) |
Getting Started
user-setup
and select math/matlab/5.0
.
.cshrc
file. In the personal customization area,
add the line:setenv MATLABPATH /home/sigproc/sjreeves/matlab/teaching
% source .cshrcat the command line of the window in which you are working.
matlab
at the command line.
demo
.
intro
to get an idea of the basic capabilities of Matlab.
doc
at any time to get a hypertext version of
the Matlab Help Desk or help <cmd>
to get help on specific
commands.
Matlab for DSP
are very useful for this class as well.
Do the following in Matlab:
trials = 100; flip = rand(trials,1); heads = (flip >= 0.5); percentheads = sum(heads)/trialsWhat is the relative frequency of heads?