Setup and Resources

Installation:

  1. Mac OS X only let us install applications only from the Mac App Store. We may need to configure it to allow the Octave installer. Visit System Preferences, click Security & Privacy, and check the setting to allow apps downloaded from Anywhere.
  2. Download the Octave 3.8.0 installer or the latest version that isn’t 4.0.0. The file is large so this may take some time.
  3. Open the downloaded image, probably named GNU_Octave_3.8.0-6.dmg on your computer, and then open Octave-3.8.0-6.mpkg inside.
  4. Follow the installer’s instructions, may need to enter the administrator password for your computer.
  5. After the installer completes, Octave should be installed on the computer. We can find Octave-cli in your Mac’s Applications, which is a text interface for Octave that we can use to complete Machine Learning’s programming assignments.
  6. Octave also includes an experimental graphical interface which is called Octave-gui, also in our Mac’s Applications, but we recommend using Octave-cli because it’s more stable.
Note:

Resources

Octave Resources

At the Octave command line, typing help followed by a function name displays documentation for a built-in function. For example, help plot will bring up help information for plotting. Further documentation can be found at the Octave documentation pages.

MATLAB Resources

At the MATLAB command line, typing help followed by a function name displays documentation for a built-in function. For example, help plot will bring up help information for plotting. Further documentation can be found at the MATLAB documentation pages.

Introduction to MATLAB with Onramp

Made for MATLAB beginners or those looking for a quick refresh, the MATLAB Onramp is a 1-2 hour interactive introduction to the basics of MATLAB programming. Octave users are also welcome to use Onramp (requires creation of a MathWorks account). To access Onramp:

  1. If you don’t already have one, create a MathWorks account at: https://www.mathworks.com/mwaccount/register
  2. Go to: https://matlabacademy.mathworks.com/ and click on the MATLAB Onramp button to start learning MATLAB!

MATLAB Programming Tutorials

These short tutorial videos introduce MATLAB and cover various programming topics used in the assignments. Feel free to watch some now and return to reference them as you work through the programming assignments. Many of the topics below are also covered in MATLAB Onramp. Indicates content covered in Onramp.

Get Started with MATLAB and MATLAB Online
Vectors
Visualization
Matrices
MATLAB Programming
Troubleshooting

Matlab Online



Next: Introduction to Machine Learning →