MATLAB for Math 18
Welcome to the gateway page for the MATLAB portion of Math 18! This part of the course is an introduction to the use of computer software to solve problems in linear algebra. These kinds of computations are valuable tools not only in pure mathematics but also in physics, chemistry, biology, computer science, economics, and sociology.
All of these fields deal with vast amounts of raw data that may be difficult or impossible to work with by hand. Computer programs like MATLAB help by performing tedious calculations error-free, so that you can avoid wasting all your time crunching numbers. It turns out that MATLAB is especially well suited for working with matrices and performing various algorithmic routines that come up in linear algebra.
In general, each assignment in this course is self-contained and can be completed without prior MATLAB experience, although some assignments depend on commands learned in earlier ones. There are no limitations on when you may use the computer lab in AP&M B432 , and you can spend as much time as you wish on each assignment as long as you submit it on time.
If you need information about course policies or about using MATLAB on campus computers, check the links on the sidebar.
Assignments | 1. Introduction to MATLAB | Due Aug 12 |
2. Systems of Linear Equations | Due Aug 19 | |
3. Matrix Algebra | Due Aug 26 | |
4. Eigenvalues & Diagonalization | Due Sep 2 | |
5. Orthogonality & Least Squares | Optional, not covered on the quiz |
The due dates above are the standard dates for all Math 18 classes, but please note that your instructor may assign different dates, in which case his or her assigned dates take precedence. Please check your class's website to verify due dates.
Homework should be uploaded to Gradescope by 11:59 pm on the listed due dates. (See the instructions within Assignment 1 for more information.) Be careful to pace yourself with the rest of the course; if you see a midterm coming up near a MATLAB due date, it is to your advantage to do your homework early.
MATLAB Tutoring
In the summer, the TAs from your class will be in the MATLAB lab during the lab times listed on your course schedule. These will be the only times when tutoring is available, although you are free to work in the lab on your own at other times.
The MATLAB Quiz
During the last week of the quarter, you will have to take a MATLAB quiz.
- You will be tested on your ability to use rudimentary MATLAB commands to solve basic computational problems and on your understanding of topics covered in the lab assignments.
- The quiz will cover Assignments 1 through 5.
- The quiz is open book and open notes. You may even make use of the labs you've completed during the quarter.
- The quiz is scheduled for 50 minutes, although you most likely will not need the full amount of time.
- You need not bring anything to the quiz except a pen and a photo ID.
To help lighten the load on proctors, please do the following when you arrive for the quiz:
- Sit at an open terminal and put your photo ID on your desk.
- Once your proctor gives you your quiz, immediately fill in your name, your TA's name, and your instructor's name in ink.
- You may then start working immediately.
Quiz Times
Your quiz time is based on the discussion section in which you are officially enrolled. For Summer Session II, the Math 18 quiz will be held in APM B349 (instead of B432) on Wednesday, Sep 4, at the times listed below:
Section | Quiz Time |
A01 | 2pm |
A02 | 3 pm |
A03 | 4 pm |
A04 | 5 pm |
If you are unable to make it to your assigned quiz time, you have the option to instead take an alternate quiz at a different time. During week 4, the week before the quiz, you will be able to go sections.ucsd.edu and select an alternative time. Sign-ups will open on Monday and will close at noon on Saturday of week 4. If you fail to sign up during this time, you will not be able to take the alternate quiz.
For summer session II, alternate quizzes will be offered on Thursday, Sep 5, at 11 am, 12 am and 1pm.
We do not offer make-up quizzes if you miss your quiz.
If you have any questions about the MATLAB quiz or the alternate quiz times, please email the Senior MATLAB TA.
Feedback
If you have any suggestions or comments about the lab assignments, we'd love to hear from you. Also, if you encounter any mistakes or broken links, let us know. Send an email to the Senior MATLAB TA.
References
Books:
- Boyce, William E. and Richard C. DiPrima. Elementary
Differential Equations and Boundary Value Problems. 8th ed.
Hoboken, NJ: John Wiley & Sons, Inc., 2005.
This is the textbook for most of the Math 20D course. - Kreysig, Erwin. Advanced Engineering Mathematics. 7th ed.
New York: John Wiley & Sons, Inc., 1993.
This book explains many of the applications of differential equations to science and engineering. - Stewart, James. Calculus - Early Transcendentals. 5th ed.
Pacific Grove, CA: Brooks/Cole, 2003.
This is also a textbook for Math 20D, covering the first few weeks of the course.
Web Sites:
- Wikipedia
An excellent resource for articles on mathematical topics. - The Millenium Problems
The Clay Mathematics Institute has offered a million dollar prize for the solution of a variety of open problems in mathematics. One such problem involves solving the Navier-Stokes equations, which are a set of differential equations. - MacTutor Archive
The MacTutor History of Mathematics Archive is a comprehensive reference for information about mathematicians and the history of mathematics. Biographies of mathematicians mentioned in these assignments are found on this site. - BCIT Math Applications
This site is a great resource for finding applications of math to the real world. - MathWorks
MathWorks is the creator of MATLAB. Product information and help can be found here. - UCSD Math
This is the home page for the UCSD Department of Mathematics. - UCSD ETS
This is the ETS (Educational Technology Services) home page, containing resources for computing at UCSD.
Acknowledgments
Faculty Coordinator | Professor Melvin Leok |
Graduate Student Coordinator | Zilu Ma |
Recent Faculty Coordinators | Professor Li Professor Helton |
Previous Faculty Coordinators | Professor Bejenaru Professor Bunch Professor Driver Professor Eggers Professor Holst Professor Li |
Previous Graduate Student Coordinators |
Jay Cummings Liz Fenwick John Geller James Hall Dan Hoff Derek Newland Håkan Nordgren Jacek Nowacki Sean Raleigh Alon Regev Timothy Swec |
Last Modified: 29 June 2019