CS 370 - Numerical Computation - Spring 2012

Introduction to Scientific Computation

David R. Cheriton School of Computer Science, University of Waterloo

[ UW Computer Science | UW Mathematics | UW Homepage ]

Class Times:

Section 1: MWF 10:30-11:20, MC 4061
Section 2: MWF 1:30-2:20, MC 2054

First Class: Wednesday, May 2, 2012

Calendar Description
Course Description

Course Instructor: R. Mark Prosser (rmprosse)
Office Hours: Wed 4-5 DC2302B
TAs: Swathi Amarala (samarala, DC3594), Parsiad Azimzadeh (pazimzad, DC3594), Jason Peasgood (rjpeasgo, DC2302E), Aditya Tayal (amtayal, DC3594)

What is this course about?

Numerical computation crops up in many fields of application, such as computer graphics, medical imaging, fluid dynamics, finance, and data mining. This course covers many of the principles and practices of basic scientific computation. Topics include: cubic splines, fast Fourier transforms, solutions of differential equations, floating point number systems, numerical errors and stability. Topics are presented in the context of specific applications to image processing, analysis of data, and scientific modeling. Any student interested in a career in computational support of engineering or scientific applications such as CAD/CAM, graphics, medical imaging, or computational finance will find this course essential.

More Information

Announcements

Assignments

UW Learn (D2L)

UW Learn will be used primarily for the following purposes:

Course Notes Reading

Matlab

Google PageRank

Using MATLAB Remotely

One way to use MATLAB from home is to connect remotely to linux.student.cs.uwaterloo.ca.

On Linux and OS X

This assumes you have the ssh binary in your path and an X server running. If you do not know what that means, do not worry! You probably do.

  1. Run ssh -X USERNAME@linux.student.cs.uwaterloo.ca, where USERNAME is your WatIAM username.
  2. You will be prompted to enter a password. This is your corresponding WatIAM password.
  3. Once you are authenticated, you will be presented with a shell. Run matlab -nodesktop -nosplash.

The -X allows you to do X forwarding. This allows you to spawn windows on your local machine that are being rendered on the remote machine. In short, you will find this useful because you will be able to see the figures you make in MATLAB remotely.

On Windows

If you are already familiar with the Remote Desktop Client on Windows, you may consider using that to log on to windows.student.cs.uwaterloo.ca.

You can use the PuTTY terminal emulator to connect from your Windows environment. There are other SSH clients available, but we will talk about this one. Because the server you are connecting to will try to spawn X windows, you might also consider downloading an X server for Windows (if you are confused, just follow the directions exactly, including those marked Optional).

  1. Optional: Download and run Xming for your architecture. Make sure that it is running before while you are running PuTTY.
  2. Download and run PuTTY for your architecture. You will see a screen not unlike the one below.
  3. In the Host Name box, type linux.student.cs.uwaterloo.ca.
  4. Optional: Under SSH -> X11, make sure to Enable X11 forwarding.
  5. Click the Open button.
  6. You will be asked for your WatIAM username and subsequently the corresponding password.

You can save yourself the trouble of repeating many of the above steps in PuTTY by creating a Saved Session.

PuTTY