Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
5Activity

Table Of Contents

Instructions
Preparations
Installation of Matlab
Downloading the necessary materials
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
Your Data Processing Project
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
A Helpful Function: subM
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:
No results containing your search query
P. 1
Matlab Tutorial

Matlab Tutorial

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

More info:

Published by: Sajjad Pasha Mohammad on Nov 16, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/29/2013

pdf

text

original

You're Reading a Free Preview
Pages 4 to 5 are not shown in this preview.
You're Reading a Free Preview
Pages 9 to 64 are not shown in this preview.
You're Reading a Free Preview
Pages 68 to 125 are not shown in this preview.
You're Reading a Free Preview
Pages 129 to 165 are not shown in this preview.
You're Reading a Free Preview
Pages 169 to 182 are not shown in this preview.

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
ericma1 liked this
youronlyhobby liked this
asnieta liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->