|
ACM 11
Introduction to Matlab and Mathematica
Instructor
Eric Chung
Office: Firestone 315
Phone: 626.395.4550
Office Hours: walk-in
Website: www.acm.caltech.edu/~tschung
Email: tschung@acm.caltech.edu
TA
Stephen Becker
Office: Firestone 214
Office Hours: Monday 12:00-1:00p at Firestone 306
UPDATE: office hours will be in Firestone 214, not Firestone 306
Email: srbecker@acm.caltech.edu
Will Shao
Email: willshao@caltech.edu
Announcement
1. (10/2) Due to the problem of the projector in Kerchkoff 119, the first lecture of session one
is moved to Oct 9th.
2. (10/5) For session one, the first HW is due on 10/16. For session two, the first HW is due on 10/12.
3. (10/5) Feel free to go to the TA's office hour.
4. (10/13) The corrected version of slide 2 is available.
5. (10/17) For version 6, you may use "LightOrange" instead of
DarkOrange.
6. (11/6) For simple help installing Matlab, the TA has a few hints.
7. (11/12) HW 6 has been slightly updated (affects problems 5, 7 and 8).
Textbook
1. Getting Started with Mathematica, by
Cheung, Keough, Gross and Landraitis
2. MATLAB guide, by Higham
Library reserve:
3. The Mathematica book
4. MATLAB: the language of technical computing
Note: you may find the online book Numerical Computing in MATLAB by Moler useful.
Time and Place
Session 1: Tuesday 12:00-12:55p, Kerchkoff 119
Session 2: Friday 4:00-4:55p, Firestone 306
Schedule
Week 1-5: Mathematica
Week 6-10: Matlab
Topics
Matlab: basic syntax; linear algebra computation; visualization; control flow; numerical analysis, including curve fitting, interpolation, differentiation, integration, optimization and solving nonlinear equations; script and function with m-file; strings; file input/output; arrays and structures; optimizing performance by vectorization; fast fourier transform and ode solvers.
Mathematica: basic syntax; numerical calculations; algebraic computations, including transforming and simplifying algebraic expressions; symbolic mathematics, including calculus, inequalities, power series, differential equations, limits and integral transforms; graphics and sound; special functions; linear algebra; numerical analysis; functions and programs; lists; input and output in notebooks.
Grading
Weekly assignment. No exam.
Lecture
slides
Lecture 1: download
Lecture 2: download
Lecture 3: download
Lecture 4: download
Lecture 5: download
Lecture 6: download
Lecture 7: download
Lecture 8: download
Lecture 9: download
Homework
HW 1(10%): download ,
Solution: download
HW 2(10%): download ,
Solution: download
HW 3(10%): download ,
Solution: download
HW 4(20%): download ,
result.dat file: download ,
Solution: download
HW 5(10%): download,
Solution: download
HW 6(10%): (updated 11/12) download ,
M-files: newton.m ,
iteration.m ,
Solution: download
HW 7(10%): download ,
dice.dat file: download ,
Solution: download
HW 8(20%): (Problem 4 updated 12/2) download ,
message.dat file: download ,
Solution: download
|