Week 0: Getting Started with MATLABEvery student in the class is responsible for obtaining a copy of MATLAB to use for the duration of the course; to help you, we have prepared this guide, which lists a number of ways you can get a copy as a Stanford student. In every lecture, you may find it helpful to bring a laptop with MATLAB installed so that you can follow along. In addition, we will be doing a number of in-class labs that will require you to work on your own machine. Let the instructors know if this is going to be a problem. Software VersionsMATLAB is updated twice a year, and the latest version is R2015b. Fortunately, MATLAB code, data, and figures are compatible across a range of versions. For this course, any reasonably recent version from the last five years will suffice; if you’re using a version that’s on the older side, there’s a chance that some function or feature we suggest you use will be missing or won’t work as expected, but if this happens we’ll work around that. In short, get the most recent version of MATLAB you can but don’t sweat it. The core MATLAB software is also augmented by a variety of extensions known as toolboxes, which are collections of functions useful for a specific purpose (e.g., image processing, financial applications, or neural networks). You won't need any special toolboxes for this course, although if necessary we will provide specific functions if the need arises. MATLAB requires a paid licenseMATLAB software is not free; it is developed and sold by a company called Mathworks, and runs under license control. This means that when you install MATLAB it will ask you to enter license information, which is done either by entering a string of characters, or by following their prompts to go log into their website and select a license to retrieve. Depending on how you get your MATLAB license, the installation and authentication process will be different. We therefore can’t provide a step-by-step guide, but it’s usually pretty straightforward. How to access MATLAB as a Stanford student (or post-doc/staff)As a short-term solution while you get set up, you can get a free 30-day trial from www.mathworks.com
You can find instructions on how to access the Corn cluster from Stanford IT Services, and once logged in, there is a guide on how to run Matlab at the FarmShare website. We also provide abbreviated instructions here (for Mac/Unix users):
If all else fails, please contact the course staff! We don't want difficulty with accessing Matlab to be the preventing you from taking the course. |