CMPS 60M Home Page

Scientific Computation with Matlab and Maple Spring 2006

Manfred K. Warmuth

FINAL PROJECTS
Project presentations: Th Jun 15 10-12 am
Link projects into the file proj/proj.html
and put all files into the directory proj.
Check all your links.
Organisational
Class:		TTh 4-5:45, E2 489
Lab JBE 109:	Mo 11:00-12:00pm
		Tu 6:00-7:00pm
		We 4:00-5:00pm
Syllabis:	Check it out
Office hours:	Mo 10-11, We 11-12:  E2-357
Prerequisite:	Math 19B or Math 20B or consent of instructor

Matlab text:	Introduction to Matlab 7 by Etter, Kuncicky, Moore
Maple text:	The Maple Book by Frank Garvan

Some example plots
Bring your .m file, etc, on a memory stick
or Upload your files to hw3 as follows:
scp warmuth.m cse.ucsc.edu:/cse/classes/cmps060m/Spring06/hw3new
You only have write permission in this directory
Use your last name in the file names, i.e. warmuth.m, warmuth.eps, etc
Don't make your file world readable

Summary of lectures

1	General indroduction
	Simple 2D plots
	What is Matlab and Maple good at
	Interpreted versus compiled languages
        Matlab Windows
        
        Chapters 1 to 2.1
	Hw0: Plot of a simple function
        Due beginning of second class

2	How do change assignments to variables
	Annotating figures
	How to enter matrices
	Simple matrix ops
	Homework 1, Due Th 4-13 before class

3	Scientific notation 
	Saving your work (.m and .mat files)
	Predefined Matlab functions
	max, mean, std, ...
	Random numbers

	Visualizing the matrix product

	Matrix transformations for graphics - check out the cows and rabbits
	Alexa's original paper      Erratum

4	Chapter 4: Plotting
	How to input points from the curser
	How to pause

	Homework 1, sols
	Homework 2, Due Tu 4-18 before class

5	Homework 2, sols
	Reading in transform matrix and transform circle
	Corrie's presentation on animation
	More on mesh plots
        Chapter 5: Basic Programming
	Inputting and outputting
	Functions

	Homework 3, Due Tu 4-25 before class

6	Review of functions sin plot as function
   	Logical operators, find one step of Collatz
	If statements and loops Collatz sequence
  	Finish Chapter 5

7	Homework 3, sols
	Vector and matrix operations
	Visualizing the Law of Cosines
 	Proof of related formula for dot products of vectors
	Inverting a matrix and solving a system of equations

8	Handle graphics handout
	m-file generating Fig. 6.2
	bead around a circle
	
9	Revised Hw3 sols
	Eigen decomposition Visualization of eigenvecs
  	Special matrices (inclucing magic matrices): finish Chapter 6
        Interpolating and fitting datapoint: Chapter 8
 	Curve fitting toolbox
	20 min. pres. and project

10	Daniel's presentation the Image Processing Toolbox
        Intro to Maple: Basic syntax, palettes, spread sheets
	factoring, simplifying, combining, ...
	Till section 3.1.4 of text

11	Rigo's presentation on animation
	Simplifying, restricting domains, substitution, equations, working with integers
	Homework 4, Due Tu 5-16 before class

12	Sections 4-5.6

13	Ben Schneidermann's talk
	Mark Deckert's presentation on how to load data

14	An example that maple can't solve easily
	Sections 5.7-6.1.6
	Homework 5, Due Th 5-25 before class

15	Devin Sevilla's presentation on object oriented programming in Matlab
	6.1.7-6.3

16 	7. Maple programming
	

17	Solutions for Homework 4
	7.10.4,5 Reading from and writing to a file
  	7.11 Generating C and Fortran code
	9 Linear Algebra
	Homework 6

18	Jason Padoan's presentation on the  stat toolbox in matlab
	David Colvin: Complex numbers and Riemannian surfaces
	Corrie's final project
        Dynamical systerm

19	Alex Atkin's presentation of the image processing toolbox
	Chris Dabney's presentation 
	Bifurcation diagrams

20	Julia and Mandelbrot sets in Maple Summary of class
	Mandelbrot set in Matlab
	Movie of Mandelbrot set in Matlab
	Proving an inequaality with Maple
        Discussion of what is each package good for   :-)

	Solution for Homework 5: Problems 1,2 Problems 3
	Solutions for Homework 6



----------------------------------------------------------