This document provides an introduction to MATLAB and covers downloading and installing MATLAB, navigating the main MATLAB windows, useful commands, online help resources, basic operations on arrays and matrices, symbolic computation, anonymous functions, function files, and script files. It explains how to download MATLAB for free as a Caltech student, sign up for VPN access to use MATLAB off campus, and introduces the main windows in MATLAB including the command window, workspace, command history, figure window, and editor window.
This document provides an introduction to MATLAB and covers downloading and installing MATLAB, navigating the main MATLAB windows, useful commands, online help resources, basic operations on arrays and matrices, symbolic computation, anonymous functions, function files, and script files. It explains how to download MATLAB for free as a Caltech student, sign up for VPN access to use MATLAB off campus, and introduces the main windows in MATLAB including the command window, workspace, command history, figure window, and editor window.
MATLAB is available for free for Caltech students and
staff! (However, you need to be on the Caltech network to use the program.)
To download MATLAB, log into http://software.caltech.edu and enter your IMSS user name and password. Click on Start Shopping.''
MATLAB can be found under MathWorks, Inc heading. Download the latest version of MATLAB.
Using MATLAB off campus
Sign up for VPN at http://www.imss.caltech.edu/help/vpn-signup-form
Download the Caltech VPN (AnyConnect) client at https://vpn.caltech.edu/+CSCOE+/logon.html
When you are off the Caltech network, log in before trying to open MATLAB.
Note: This is not necessary if you download the license file properly on your computer, but you should sign up for VPN access on the off chance you need to read a paper or get on the course website off campus
Main MATLAB windows
Command window: The main window where
MATLAB puts you when you launch the application
Characterized by the >> command prompt)
All commands, including those for running programs you write, are typed in this window
Workspace pane: Lists all of the variables you have generated so far, along with their size and type.
Main MATLAB windows
Command history window: All commands typed
on the MATLAB prompt get recorded here (including those from previous sessions)
Figure window: The output of all graphics commands typed in the command window goes here
Editor window: Window where you write, edit, create, and save your own programs in files called m-files (standard ASCII text files).