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

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Matlab 2

Matlab 2

Ratings: (0)|Views: 269 |Likes:
Published by Kanth
Uploaded from Google Docs
Uploaded from Google Docs

More info:

Categories:Types, Research, Science
Published by: Kanth on Apr 05, 2011
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

11/23/2012

pdf

text

original

 
Matlab Tutorial
© 2003 Information Technology Services, UT-Austin
Part I: Getting Started............................................................................... 4
Section 1: Introduction................................................................................................4About this Document...............................................................................................4Introduction to Matlab.............................................................................................5Section 2: An Overview of Matlab..............................................................................5Access to Matlab and ITS Matlab consulting services..............................................5Getting Started........................................................................................................6The Desktop Layout................................................................................................7The Workspace Window.........................................................................................8The Current Directory Window...............................................................................8The Launch Pad Window........................................................................................8The Command History Window..............................................................................8The Command Window...........................................................................................9The Figure Window...............................................................................................10Section 3: Importing and Exporting Information........................................................10Command Line Import..........................................................................................11The Import Wizard................................................................................................11Import Functions...................................................................................................13csvread..............................................................................................................13dlmread.............................................................................................................14load...................................................................................................................14fscanf .................................................................................................................14textread..............................................................................................................15Export Functions...................................................................................................16diary..................................................................................................................16dlmwrite............................................................................................................17save...................................................................................................................17fprintf ................................................................................................................18M-file Scripts........................................................................................................19M-Books...............................................................................................................19Advanced Methods for Binary Information............................................................22Section 4: Notation, Syntax, and Operations..............................................................23Variable names......................................................................................................23Numerical conventions..........................................................................................23Geometrical and directional conventions...............................................................24Operator and delimiter symbolics..........................................................................24
Part II: Computing and Programming....................................................27
Section 5: Computational Procedures........................................................................27Special Built-in Constants.....................................................................................27
 
2Special Built-in Functions.....................................................................................28Compound Expressions and Operator Precedence..................................................30Commutivity of Operations and Finite Decimal Expansion Approximations..........32Computing with matrices and vectors....................................................................32Simultaneous linear equations...............................................................................33Eigenvectors and Eigenvalues...............................................................................34Poles, residues, and partial fraction expansion.......................................................37Convolution and deconvolution.............................................................................38Finite Fourier and Inverse Fourier Transforms......................................................39Numerical Differentiation and Integration.............................................................39Numerical solution of differential equations..........................................................42Section 6: Programming............................................................................................42Using the Editor ....................................................................................................42Types and Structures of M-files.............................................................................43Internal Documentation.........................................................................................45Passing variables by name and value.....................................................................46Function evaluation and function handles..............................................................47Function recursion.................................................................................................48Flow control..........................................................................................................49String evaluation and manipulation........................................................................51Keyboard input......................................................................................................53Multidimensional arrays and indexing...................................................................54Debugging.............................................................................................................56Using Matlab with External Code..........................................................................59Exchanging and viewing text information..............................................................59Compiling and calling external files from Matlab..................................................60Calling Matlab objects from external progams.......................................................62Using Java Classes in Matlab................................................................................62
Part III: Graphics and Data Analysis.....................................................63
Section 7: Graphics and Data Visualization..............................................................64Two dimensional plotting......................................................................................64Three dimensional plotting....................................................................................65Animation.............................................................................................................68The Handle Graphics system.................................................................................68Customizing displays.............................................................................................69Section 8: Data Analysis...........................................................................................72Data analysis functions..........................................................................................72Regression and curve fitting..................................................................................73Signal and image processing..................................................................................75
Part IV: Modeling and Simulation..........................................................81
Section 9: Modeling and Simulation.........................................................................81System Identification.............................................................................................81Using the Control System Toolbox........................................................................81
 
3Optimization Toolbox...........................................................................................84Using Simulink ......................................................................................................87Simulink Library Browser .....................................................................................88Construction/ Simulation of Dynamical Systems...................................................92

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Aliyaa Mohammed liked this
sheeper87 liked this
Rajesh Verma liked this

You're Reading a Free Preview

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