# Introduction to Matlab Course Notes Main Page

### Description:

This web site contains course notes for a basic introduction to Matlab

Initially this page is really just a list of the topics I want to / have talk(ed) about, without any real coverage here of any particular topic.

### Accreditation:

1. This version of these course notes was modified Summer 2014 by John Bell, for CS 109 at the University of Illinois Chicago.
2. This semester does not require a textbook on Matlab, relying heavily instead on online and built-in documentation.
3. Past textbooks include "Essential MATLAB for Engineers and Scientists", Fourth Edition ,by Hahn & Valentine and Introduction to Matlab", Second Edition, by Delores M. Etter. Some of this material may be based loosely on those sources.

### Course Notes, by Topic, in the order covered ( more or less ):

1. Introduction
• Basics of getting, installing, and running Matlab.
• How to get and install a Virtual Private Network
2. The Matlab Environment ( IDE )
• Survey of the Matlab desktop and capabilities.
• How to save Matlab commands in a script file and run that file.
3. A Simple Sample - Explained line by line.
4. Getting Started with Matlab
• Helpwin:
• general( who, whos, clear )
• ops( colon, paren, punct, and all Arithmetic except kron )
• elmat( ans, eps, pi, i, inf, nan, disp )
• input
• Valuable commands
• pre-defined variables
• Special Characters
• Mathematical Operators
• Input and Output
• Creating and running scripts
5. Creating Matrices with Matlab
• Helpwin:
• elmat( zeros, ones, eye, linspace, logspace, end, magic, peaks )
• ops( colon, paren )
• Direct Entry
• Colon Operator
• Subset or Combination of other arrays
• Using Matlab Functions
6. Using Matlab Functions
• Helpwin:
• elfun
• datafun
• matfun
• polyfun
• specfun
7. Basic Matrix Operations
• Helpwin:
• elmat( repmat, size,length, ndims, numel, diag, tril, triu, fliplr, flipud, rot90 )
8. Control Structures
• Relational Operators - >,<,>=,<=,= =, ~ =
• Logical Operators - &, |, ~ for AND, OR, NOT
• if - elseif - else - end
• while and for loops
• find
• switch