%% File: interactiveGuide.tex
%%
%% Study Guide for Numerical Methods with MATLAB
%% Chapter on "MATLAB Programming"
%%
%% Gerald Recktenwald, gerry@me.pdx.edu
%% August 2000
\documentclass{article}
\usepackage{studyGuide}
\renewcommand{\guideName}{Study Guide for Interactive Computing with \MATLAB}
% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\title{Study Guide for\\
Interactive Computing with \MATLAB}
\author{Gerald Recktenwald}
% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\begin{document}
%\maketitle
% -------------------------
\section*{Bare Essentials}
At the end of this chapter you should be able to
\begin{enumerate}
\item Start \MATLAB.
\item Define \MATLAB\ variables and perform computations with them.
\item Know how to suppress printout with \verb|;|
\item Recognize built-in variables.
\item Use on-line \texttt{help} to get more information on a function.
\item Create matrices and vectors with direct assignment (using \texttt{[\,]})
\item Extract elements from vectors and matrices with subscript notation.
\item Use colon notation to create vectors.
\item Use colon notation to extract ranges of elements from vectors and matrices.
\item Use \texttt{linspace} and \texttt{logspace} to create vectors.
\item Use the transpose operator.
\item Understand how to use array operators (\verb|.*|, \verb|./|, \verb|.^|)
\emph{and} why they are different from the regular (\verb|*|, \verb|/|, \verb|^|)
operators.
\item Create and manipulate complex vectors and matrices.
\item Use path-changing commands to access files in different
directories (folders) on your hard disk.
\item Use the \texttt{load} command to read data from a file.
\item Use the \texttt{plot} function to plot data stored in \MATLAB\ variables.
\end{enumerate}
% -------------------------
\section*{An Expanded Core of Knowledge}
After mastering the bare essentials you should move on to a deeper understanding
of the fundamentals. Doing so involves being able to
\begin{enumerate}
\item Understand how to add and remove variables from the \MATLAB\ workspace.
\item Create and manipulate string variables.
\item Create and manipulate \MATLAB\ polynomials.
\item Use \texttt{contour}, \texttt{surf}, \texttt{plot3}
etc. to create two and three-dimensional plots.
\item Reshape matrices with the \texttt{reshape} function and a trick with
colon notation.
\end{enumerate}
% -------------------------
\section*{Developing Mastery}
Working toward mastery of interactive \MATLAB\ usage you will need to know how to
\begin{enumerate}
\item Delete elements from vectors and matrices.
\item Perform low level input and output with \texttt{fopen}, \texttt{fscanf},
and \texttt{fclose}.
\end{enumerate}
\end{document}