1-16-2013
Claude Shannon’s paper on Information Theory
Lecture 1: Generic
Communications System
Where
is a manual for MATLAB? Try the library first. Most students only use the
manual in the very beginning of their MATLAB experience. Once into it, the
language is intuitive enough and there are enough sample M files that learning
MATLAB is somewhat self-sustaining without manuals. Type "matlab" to execute intepreter,
"help ?" to see listing of operators, "help" for listing of
functions, "who" to see active variables, "what" for
listing of M files and always use "clear" to start over again.
How
do you initialize the dimension of a variable? One way is to initialize its
values by zeros(M,N) or ones(M,N). Ex: A=zeros(10,8) is a 10 x 8 matrix of zeroes. Another function
is "ones" which works the same way as "zeros". Another
method is nested loop, ie., 1:5 loops from 1 to 5 so A(1:5)=3:7 will store the values
3 to 7 in the first 5 elements of A.