*This preview shows
pages
1–4. Sign up
to
view the full content.*

This
** preview**
has intentionally

**sections.**

*blurred***to view the full version.**

*Sign up*This
** preview**
has intentionally

**sections.**

*blurred***to view the full version.**

*Sign up*
**Unformatted text preview: **I nt roduction to MAT LAB 1. Overview MATLAB is a powerful, widely used tool for doing signal processing. The primary goal of this lab is to familiarize you with using MATLAB. It’s assumed you have some experience with programming in some other language. You should already know something about the basics about variables, loops, functions, etc. This introduction shows how common programming constructs are done in MATLAB. There are three specific goals for this lab: 1. Learn basic MATLAB commands and syntax, including the help system. 2. Learn to write and edit your own script files in MATLAB, and run them as commands. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization. This lab will get you started with MATLAB. The Chapter 2 build-a-figures will introduce additional MATLAB commands and techniques as they are needed. 2. Getting Started There have been many fine tutorial introductions to MATLAB written. The approach taken here is to use some of The Mathworks ( http://www.mathworks.com/ ) tutorials to get a general introduction to MATLAB, its command environment, editor, etc. and then learn many specific techniques by recreating many of the figures in the text. 1. The Mathworks Tutorials The Mathworks site lists several tutorials for learning MATLAB. The Interactive MATLAB Tutorial ( http://www.mathworks.com/academia/student_center/tutorials/mltutorial_launchpad.html ) matches well with what we are doing here. The follow table lists the various parts of the tutorial and notes which are most important to do. Time Link Description Importance (5:38) Introduction to MATLAB Tutorials Directions for viewing modules and downloading the tutorial example files. Yes (6:10) Navigating the MATLAB Desktop Get comfortable with the MATLAB desktop environment Yes (22:55) Using MATLAB as a Graphical Calculator Learn to use MATLAB as a powerful tool for solving problems and visualizing functions Very (2:13) Using MATLAB to Solve Problems Explore a case study of using MATLAB to solve problems Yes (13:06) Importing and Extracting Data Work with data in MATLAB – how to bring it in and manipulate it Not much (10:55) Visualizing Data Better understand complex mathematical functions and data by visualizing it with MATLAB Very (12:33) Conducting Computational Analysis in MATLAB Analyze data through MATLAB functions and computation Not Much (6:42) Fitting Data to a Curve Model your data to an equation and interpolate upon it in MATLAB Not Much (9:29) Writing MATLAB Programs Write your first MATLAB program (script M-file) Yes (8:01) Publishing MATLAB Programs Communicate your work by publishing it as an HTML report, all from within MATLAB Some If time permits, do all the tutorials above. If you can’t do them all, at least do the important and very important ones. These will give you the background needed for the next section....

View
Full
Document