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
62Activity

Table Of Contents

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

Matlab&Simulink

Ratings: (0)|Views: 482|Likes:
Published by Mircea Pavel

More info:

Published by: Mircea Pavel on Jul 08, 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

01/26/2013

pdf

text

original

 
Mechatronic Systems Simulation
Part B: Integrated System Simulation
Dr.-Ing. Peter Krauss
MATLAB / SIMULINK / STATEFLOW
WS 2002/2003
email: pkrauss@mathworks.de
 
Contents
0 Introduction 6
0.1 The MATLAB Product Family . . . . . . . . . . . . . . . . . . 7
1 MATLAB interactively 9
1.1 Calculation with MATLAB . . . . . . . . . . . . . . . . . . . . 101.1.1 Integrated Development Environment (IDE) . . . . . . . 101.1.2 The MATLAB Command Window . . . . . . . . . . . . 111.1.3 The Data Types . . . . . . . . . . . . . . . . . . . . . . 121.1.4 The MATLAB Workspace . . . . . . . . . . . . . . . . 141.1.5 MATLAB Notation . . . . . . . . . . . . . . . . . . . . 161.1.6 Arithmetic Operators . . . . . . . . . . . . . . . . . . . 171.1.7 Relational and logical operators . . . . . . . . . . . . . 181.1.8 Elementary mathematical functions . . . . . . . . . . . 191.1.9 The output display format . . . . . . . . . . . . . . . . 191.1.10 Help and Online Documentation . . . . . . . . . . . . . 201.2 Manipulation of Vectors and Matrices . . . . . . . . . . . . . . 211.2.1 The Assignment of Vectores and Matrices . . . . . . . . 211.2.2 Special matrices . . . . . . . . . . . . . . . . . . . . . 221.2.3 Submatrices, Matrix-Indexing . . . . . . . . . . . . . . 231.2.4 Multidimensional matrices . . . . . . . . . . . . . . . . 241.3 Polynomials und matrices . . . . . . . . . . . . . . . . . . . . . 251.3.1 Description of differential equation systems . . . . . . . 251.3.2 Polynomial functions . . . . . . . . . . . . . . . . . . . 261.4 Exercises for Chapter 1 . . . . . . . . . . . . . . . . . . . . . . 27
1
 
CONTENTS CONTENTS
2 MATLAB as a Programming language 29
2.1 Flow Control Structures in MATLAB . . . . . . . . . . . . . . 302.2 MATLAB Programs . . . . . . . . . . . . . . . . . . . . . . . 312.2.1 Command sequences (MATLAB Scripts) . . . . . . . 312.2.2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . 322.2.3 functionfunctions . . . . . . . . . . . . . . . . . . . . 332.2.4 Local, global and persistent variables . . . . . . . . . . 342.2.5 Program Structures . . . . . . . . . . . . . . . . . . . . 352.3 Programming Tools . . . . . . . . . . . . . . . . . . . . . . . . 392.3.1 The Editor / Debugger . . . . . . . . . . . . . . . . . . 392.3.2 Debugging . . . . . . . . . . . . . . . . . . . . . . . . 412.3.3 Online-Help . . . . . . . . . . . . . . . . . . . . . . . . 422.4 Exercises for Chapter 2 . . . . . . . . . . . . . . . . . . . . . . 43
3 MATLAB Graphics 45
3.1 2-Dimensional Graphics . . . . . . . . . . . . . . . . . . . . . 463.1.1 Plot of Vectors and Matrices . . . . . . . . . . . . . . . 463.1.2 Labelling of Diagrams . . . . . . . . . . . . . . . . . . 483.1.3 Colors, Markers, Line Types, Axes Range, Grids . . . . 493.1.4 Windows with several Graphics . . . . . . . . . . . . . 503.2 3-dimensional Graphics . . . . . . . . . . . . . . . . . . . . . . 513.2.1 Line graphic . . . . . . . . . . . . . . . . . . . . . . . 513.2.2 Point of View . . . . . . . . . . . . . . . . . . . . . . . 523.2.3 Point of View of 
 
-dimensional Graphics . . . . . . . . 543.2.4 Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . 553.3 Handle Graphics . . . . . . . . . . . . . . . . . . . . . . . . . 563.3.1 Object-Hierarchy . . . . . . . . . . . . . . . . . . . . . 563.3.2 Handle the Objects . . . . . . . . . . . . . . . . . . . . 573.3.3 Properties of Objects . . . . . . . . . . . . . . . . . . . 583.3.4 Example Paraboloid . . . . . . . . . . . . . . . . . . . 613.3.5 Properties Changing with the Graphical Interface . . . . 653.4 Exercises for Chapter 3 . . . . . . . . . . . . . . . . . . . . . . 67
4 MATLAB Data Interfaces 69
4.1 General Data Format . . . . . . . . . . . . . . . . . . . . . . . 70
2

Activity (62)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
jyotiblossoms liked this
Võ Thanh Liêm liked this
Võ Thanh Liêm liked this
ronbinye 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)//-->