100 Handouts and m-files
Slides for MATLAB Intro (pdf)
Getting Started in MATLAB (pdf)
(some very basic info to get you off the ground)
A Very Elementary MATLAB Tutorial
from The MathWorks
Experiments with MATLAB
(by Cleve Moler), the textbook for MATH 100 which can be downloaded for
FREE
.
A Practical Introduction to MATLAB (kind of outdated, for MATLAB Version 5) (html version)
(by Mark Gockenbach) or
Postscript version
For more introductory material and tutorials see
my MATH 100 main page
, or
the main course page
fibonacci.m
(the function we created in our first class)
Introductory Matlab scripts
basic_definitions.m
(script that calls all other files. Note, however, that each file below can also be executed separately.)
matrix_vector.m
(definition of matrices and vectors)
arithmetic.m
(simple arithmetic with matrices and vectors)
lin_sys.m
(solving linear systems)
submatrices.m
(definition of submatrices)
statistics.m
(timing in Matlab)
loops1.m
(for-loops, and why to avoid them)
loops2.m
(more on for-loops)
plotting.m
(simple plotting)
efficiency.m
(some tricks for efficient coding)
user_defined_functions.m
(how to use user-defined functions)
circle.m
(a user-defined function)
inline_functions.m
(how to use inline functions)
anonymous_functions.m
(how to use anonymous functions)
function_functions.m
(how to use anonymous functions)
basics.zip
(.zip file containing all of the files above)
fixedpoint.m
from Experiments in MATLAB
Possible Matlab project
and files for this project (from Moler's
Experiments with MATLAB
and
Numerical Computing with MATLAB
):
hand.m
dot_to_dot.m
wiggle.m
splinetx.m
pchiptx.m
tridisolve.m
Last updated: September 5, 2009
Greg Fasshauer
(fasshauer at iit.edu)