News
Quote of the Week
| Part of the inhumanity of the computer is that, once it is competently programmed and working smoothly, it is completely honest. . | |
| --- Issac Asimov (submitted by Nic Perry) | |
| Nothing in this world that's worth having comes easy. | |
| --- Obvious (submitted by Sarma) | |
| If you have a job you love, you will never work a day in your life. | |
| --- Thomas Edison (submitted by Nic Perry) | |
| Of all the said words of tongue or pen, the saddest are these: It might have been. | |
| --- Anonymous (submitted by Nic Perry) | |
| When one door closes another opens. But often we look so long so regretfully upon the closed door that we fail to see the one that has opened for us. | |
| --- Alexander Graham Bell (submitted by Amber McDonough) | |
| Experience is what you get when you don't get what you want. | |
| --- Anonymous (submitted by Wyatt Neal) |
Preparedness Exam
| exam answers |
Questions (accumulated from all quarters)
Syllabus
| html |
Lecture Material
Lecture Review
| Week1 Week2 Week3 Week4 Week7 Week8/9 Week10 |
Writing Comments for Lab Programs
| Students have asked about the comments we expect your programs to contain. Please consult this guide for answers. |
Submitting Assignment Solutions
|
The procedure assumes files are saved on the Q-Drive. Instructions
for creating, editing, saving, sending via the Q-Drive are as
follows:
To create an M-file while in MATLAB do the following:
|
Lab Assignments
| Lab number 1: | (pdf) | (html) | |||
| Lab number 2: | (pdf) | (html) | |||
| Lab number 3: | (pdf) | (html) | |||
| Lab number 4: | (pdf) | (html) Sample Data File | |||
| Lab number 5: | (pdf) | (html) Sample file: short sequence Sample file: very long sequence | |||
| Lab number 6: | (pdf) | (html) Multiply Add Big Integers | |||
| Lab number 7: | (pdf) | (html) Sample Data File - answer is 2947 | |||
| Lab number 8: | (pdf) | ||||
| (pdf) | (html) Data File - part I Data File - part II | ||||
Reasonable Solutions to Lab Assignments
Midterm Exams, Solutions, Grades
| 2006 Exam 2006 Solutions | ||
| 2007 Exam 2007 Solutions | ||
| 2008 Exam 2008 Solutions |
Final Exams, Solutions
| 2006 Exam 2006 Solutions | ||
| 2007 Exam 2007 Solutions | ||
| 2008 Exam 2008 Solutions |
Matlab Examples
| Basic console input | |
| Scalar operators | |
| Vectors and operators | |
| Product of Matrix and Vector | |
| Plot a circle | |
| Simple for loop and if statement | |
| Another for loop and if statement test | |
| Simple plot of a function | |
| Mesh plot | |
| Plot pressure vs. temperature of an ideal gas | |
| Read from file data file to test: PDXprecip.dat | |
| Factorial - implemented as a function | |
| Compute traffic flow uses poisson.m | |
| Throw dice uses random0.m seed.m dice.m | |
| A Queue Class (Object Oriented Programming - all files in directory @queue) | |
| queue.m insert.m remove.m isempty.m peek.m display.m | |
| --------------------------- | |
| Divide a matrix by a vector | |
| Plot height and speed of thrown ball | |
| Calculate distance between 2 points | |
| Plot the sprial of Archimedes | |
| Growth of bacteria in a culture | |
| Animate planet motion |