Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .

Instructions
Preparations
Installation of Matlab
Configuration of Matlab
Lesson 1: Matlab Basics
What Can You Use Matlab For?
Examples in Command Line Mode
Demonstration Examples by Matlab
Example From Psychological Research
The User Interface
Desktop Display Options
The «Command Window»
The «Workspace»
The «Current Directory» Browser
The «Command History»
Using the Help System
Summary
Numbers and Variables in Matlab
Representation of Numbers
Variables
Data Representation 1: Scalars, Vectors, and Matrices
Scalars
Vectors
Matrices
Matrix Manipulation
Matrix Concatenation
Matrix Duplication
Creation of Special Matrices
Matrix Transformation
Exercise 1: Create a Complex Data Matrix
Mathematical Operators and Functions
Operators
Functions
Exercise 2: Implementing a Mathematical Formula
Exercise 3: Validation of a Magic Square
Self-test Questions
M-Files: Scripts and Functions
The Editor/Debugger
Script Programming
Exercise 4: Programming a Script
Function Programming
Special Cases
Program Control Structures: Loops
The For Loop
The While Loop
Exit Loops with the break Statement
Exercise 5: Gaussian function for a vector
Vectorisation of Loops
Program Control Structures: Conditional Branching
The branching structure if-elseif-else
The switch-case structure
Comparison Operators and Logical Operations
Exercise 6: Standardisation Function
Data Representation 2: Character Strings
String creation and concatenation
Examine and Compare Strings
Lesson 3: Working with External Files
Data Import
Interactive Data Import
Data Input from External Files: Programmed
Example: Data Import from an External File
Data Representation 3: Cell Arrays
Data Representation as Cell Arrays
Create and Reference Cell Arrays
Second example on data import from external files
Data Representation 4: Structure Arrays
Data Representation in Structure Arrays
Application example
Data Base
Basic Structure
Data Base: EyeData Processing
Exercise P1: Data Import
User Interaction
Selection of Files and Directories
Sample Code: Select All Files in a Directory
Other User Input Features
Exercise P2: User Inputs
Writing Data to External Files
Basic Functions to Write to External Files
Exercise P3: Save Data
Lesson 4: Data Processing and Graphical Presentation
Data Selection: Logical Indexing and the «find» Function
Logical Indexing
The find Function
Basic Statistical Functions
Descriptive Statistics
Correlation and Covariance
Random Data with Defined Distributions
Exercise P4: Project Task - Data Processing
Graphics Basics: Figures and Axes
Creation and Manipulation of Figures
Figure Properties
Axes
Multiple Axes
Multiple axes
The Plot function
Bar Graphs
Brief Demonstration of Other Functions
Annotate and Extend Graphics
Exercise P5: Project Task - Graphical Data Display
Final Remarks
0 of .
Results for:
P. 1
Matlab Tutorial

# Matlab Tutorial

Ratings: (0)|Views: 416|Likes:

### Availability:

See more
See less

03/29/2013

pdf

text

original

Pages 4 to 5 are not shown in this preview.
Pages 9 to 64 are not shown in this preview.
Pages 68 to 125 are not shown in this preview.
Pages 129 to 165 are not shown in this preview.