Programming in Mathematics - Spring 2019
MA 302: (MWF) 10:00-10:50 AM KH 318
This course will cover the basics of MATLAB programming through the investigation of various mathematical
topics.
Instructor:Dr.Prince Chidyagwai
Office: Knott Hall 301d
Phone: 410-617-2710
Office Hours: MWF 1:00-2:00 PM or by appointment
Email: pchidyagwai@loyola.edu
Course Materials
Course Syllabus
MATLAB information:
Programming assignments will be done using MATLAB, a program produced by MathWorks. You have the following options to acess MATLAB at Loyola:
- WORKSPACE: You can access MATLAB through Workspace from any Windows or MAC computer with internet access. Go to
https://workspace.loyola.edu/SAAS/auth/login" and login using your Loyola username and password. You can also acess Workspace through the "Applications" tab
on the Inside Loyola page. Once you login into Workspace, scroll down until you see the MATLAB icon
- I encourage you to use your network G:\ Drive to store your files. This is backed up regularly and accessible from any Loyola computer. If you
are off campus, you can access your files via WORKSPACE. You can learn more about accessing your network driver from
this Technology Services Link
- MATH-STAT computer lab (KH 318): The computers in KH 318 have MATLAB locally installed. You have card access to this lab.
- PURCHASE MATLAB: You can purchase a student version of MATLAB from Mathworks for $99. I highly
recommend this option if you are considering going to graduate school or are interested in using MATLAB in the future.
Do not hesitate to email me if you have any difficulties installing or running MATLAB.
MATLAB Tutorials:
Assignments:
Homework reports instructions ( sample assignment sample submission)
Lecture Notes:
- Week 1 -- Introduction to Matlab (demo_script.m)
- Week 2 -- Matrix and Array Operations (image_demo.m, image)
- Week 3 -- Plotting(plotting_demo.m,plot3d_demo.m) MATLAB plotting documentation
- Week 4 -- Progamming in Matlab (calcarea.m, stat.m, myfun.m,run_myfun.m) Flow control (geom_series.m, forloop_demo.m,subplot_loop_demo.m)
- Week 5 -- Flow control (loop_example1.m,loop_example2.m,quadratic_solve.m,quadratic_solve2.m)
- Week 6 -- Defining mathematical functions
- Week 7 -- Newton's method Initial Value Problems
- Week 8 -- Complex Numbers (chaos.m)
- Week 10 -- Linear Transformations (linear_trans.m)(connect_dots.m)
- Week 11 -- Numerical integration
- Week 12 -- File input output (C02 emissions data)(data_set1.txt)
- Week 13 -- Interpolation (lagrangepp.m)(eval_lag.m)(image)
(interpolation2D_demo.m)