2011-12 Requests by UOIT Course Code for UOIT website.xlsx
180 pages
English

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

2011-12 Requests by UOIT Course Code for UOIT website.xlsx

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
180 pages
English
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

  • cours - matière potentielle : code key
  • cours - matière potentielle : code product name
2011-12 Software by Course Code Key: Yes =  The software product on the left is available to students enrolled in the corresponding course above. Product Name BIOL  2010U BIOL  3040U BIOL  4010U BUSI  1010U BUSI  1020U BUSI  1101U BUSI  1405U BUSI  1450U BUSI  1520U BUSI  2000U BUSI  2160U BUSI  2170U BUSI  2201U BUSI  2202U @Risk Access Yes Acrobat Professional Back Bay Battery-Strategic Innovation Simulation Camtasia Studio CaseWare Competitive Dynamics and Wintel simulation Creative Suite Web Premium EndNote Global Supply Chain Management Simulation LabScribe 2 with associated update for Windows 7 Yes Yes Minitab Yes Office Professional Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Operations Managemnet; Operations Analytics Pl i
  • professional windows
  • elements edition project
  • interactive trader rotman portfolio simulation sas simulation bennihana simulation project management spss vba visio
  • strategic innovation simulation camtasia studio caseware
  • global supply chain management simulation labscribe
  • flash player adobe
  • standard software product developer version the following software products are provided for all courses in the mobile computing program
  • -12 software

Sujets

Informations

Publié par
Nombre de lectures 33
Langue English
Poids de l'ouvrage 1 Mo

Extrait

(January 3, 2012 3:32 p.m.)
A MATLAB Tutorial
Ed Overman
Department of Mathematics
The Ohio State University
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
1 Scalar Calculations . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Simple Arithmetical Operations . . . . . . . . . . . . . . . . . 6
1.2 Variables . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3 Round-o Errors . . . . . . . . . . . . . . . . . . . . . . 9
1.4 Formatting Printing . . . . . . . . . . . . . . . . . . . . . 10
1.5 Common Mathematical Functions . . . . . . . . . . . . . . . . 11
1.6 Complex Numbers . . . . . . . . . . . . . . . . . . . . . 13
1.7 Script M- les . . . . . . . . . . . . . . . . . . . . . . . 14
1.8 Help! . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.9 Be Able To Do . . . . . . . . . . . . . . . . . . . . . . 17
2 Arrays: Vector and Matrix Calculations . . . . . . . . . . . . . . . 17
2.1 Generating Matrices . . . . . . . . . . . . . . . . . . . . . 18
2.2 The Colon Operator . . . . . . . . . . . . . . . . . . . . . 22
2.3 Manipulating Matrices . . . . . . . . . . . . . . . . . . . . 22
2.4 Simple Arithmetical Operations . . . . . . . . . . . . . . . . . 27
2.5 Operator Precedence . . . . . . . . . . . . . . . . . . . . 30
2.6 Be Careful! . . . . . . . . . . . . . . . . . . . . . . . 31
2.7 Common Mathematical Functions . . . . . . . . . . . . . . . . 33
2.8 Data Manipulation Commands . . . . . . . . . . . . . . . . . 33
2.9 Advanced Topic: Multidimensional Arrays . . . . . . . . . . . . . . 36
2.10 Be Able To Do . . . . . . . . . . . . . . . . . . . . . . 37
3 Anonymous Functions, Strings, and Other Data Types . . . . . . . . . . 38
3.1 Anonymous Functions . . . . . . . . . . . . . . . . . . . . 39
3.2 Passing Functions as Arguments . . . . . . . . . . . . . . . . . 40
3.3 Strings . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.4 Cell Arrays and Structures . . . . . . . . . . . . . . . . . . . 42
3.5 Advanced Topic: Data Types and Classes . . . . . . . . . . . . . . 45
3.6 Be Able To Do . . . . . . . . . . . . . . . . . . . . . . 47
4 Graphics . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.1 Two-Dimensional Graphics . . . . . . . . . . . . . . . . . . . 48
4.2 Three-Dimensional Graphics . . . . . . . . . . . . . . . . . . 57
4.3 Advanced Topic: Commands . . . . . . . . . . . . . . . . . . 60
4.4 Adv Topic: Handles and Properties . . . . . . . . . . . . . . 65
4.5 Advanced Topic: GUIs (Graphical User Interfaces) . . . . . . . . . . . 67
4.6 Adv Topic: Making Movies . . . . . . . . . . . . . . . . . 73
4.7 Be Able To Do . . . . . . . . . . . . . . . . . . . . . . 76
5 Solving Linear Systems of Equations . . . . . . . . . . . . . . . . 76
5.1 Square Linear . . . . . . . . . . . . . . . . . . . . 77
5.2 Catastrophic Round-O Errors . . . . . . . . . . . . . . . . . 80
5.3 Overdetermined and Underdetermined Linear Systems . . . . . . . . . . 81
6 File Input-Output . . . . . . . . . . . . . . . . . . . . . . 82
7 Some Useful Linear Algebra Functions . . . . . . . . . . . . . . . 848 Programming in MATLAB . . . . . . . . . . . . . . . . . . . 90
8.1 Flow Control and Logical Variables . . . . . . . . . . . . . . . . 90
8.2 Matrix Relational Operators and Logical Operators . . . . . . . . . . . 95
8.3 Function M- les . . . . . . . . . . . . . . . . . . . . . . 99
8.4 Odds and Ends . . . . . . . . . . . . . . . . . . . . . . 111
8.5 Advanced Topic: Vectorizing Code . . . . . . . . . . . . . . . . 112
9 Sparse Matrices . . . . . . . . . . . . . . . . . . . . . . . 115
10 Initial-Value Ordinary Di erential Equations . . . . . . . . . . . . . 118
10.1 Basic Commands . . . . . . . . . . . . . . . . . . . . . . 118
10.2 Advanced . . . . . . . . . . . . . . . . . . . . 123
11 Boundary-Value Ordinary Di erential Equations . . . . . . . . . . . 129
12 Polynomials and Polynomial Functions . . . . . . . . . . . . . . . 133
13 Numerical Operations on F . . . . . . . . . . . . . . . . 136
14 Discrete Fourier Transform . . . . . . . . . . . . . . . . . . . 138
15 Mathematical Functions Applied to Matrices . . . . . . . . . . . . . 145
Appendix: Reference Tables . . . . . . . . . . . . . . . . . . . . 147
Arithmetical Operators . . . . . . . . . . . . . . . . . . . . . 147
Special Characters . . . . . . . . . . . . . . . . . . . . . . . 147
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . 148
Prede ned Variables . . . . . . . . . . . . . . . . . . . . . . 148
Format Options . . . . . . . . . . . . . . . . . . . . . . . . 148
Some Common Mathematical Functions . . . . . . . . . . . . . . . . 149
Input-Output Functions . . . . . . . . . . . . . . . . . . . . . 150
Arithmetical Matrix Operations . . . . . . . . . . . . . . . . . . . 150
Elementary Matrices . . . . . . . . . . . . . . . . . . . . . . 151
Specialized Matrices . . . . . . . . . . . . . . . . . . . . . . 151
Elementary Matrix Operations . . . . . . . . . . . . . . . . . . . 151
Manipulating Matrices . . . . . . . . . . . . . . . . . . . . . . 152
Odds and Ends . . . . . . . . . . . . . . . . . . . . . . . . 152
Two-Dimensional Graphics . . . . . . . . . . . . . . . . . . . . 153
Three-Dimensional . . . . . . . . . . . . . . . . . . . . 153
Advanced Graphics Features . . . . . . . . . . . . . . . . . . . . 154
String Functions, Cell Arrays, Structures, and Classes . . . . . . . . . . . . 154
Data Manipulation Commands . . . . . . . . . . . . . . . . . . . 155
Some Useful Functions in Linear Algebra . . . . . . . . . . . . . . . . 155
Logical and Relational Operators . . . . . . . . . . . . . . . . . . 156
Flow Control . . . . . . . . . . . . . . . . . . . . . . . . 156
Logical Functions . . . . . . . . . . . . . . . . . . . . . . . 156
Programming Language Functions . . . . . . . . . . . . . . . . . . 157
Debugging Commands . . . . . . . . . . . . . . . . . . . . . . 157
Discrete Fourier Transform . . . . . . . . . . . . . . . . . . . . 157
Sparse Matrix Functions . . . . . . . . . . . . . . . . . . . . . 158
Time Evolution ODE Solvers . . . . . . . . . . . . . . . . . . . . 158
Boundary-Value Solver . . . . . . . . . . . . . . . . . . . . . 158
Numerical Operations on Functions . . . . . . . . . . . . . . . . . . 159 Op on Polynomials . . . . . . . . . . . . . . . . . 159
Matrix Functions . . . . . . . . . . . . . . . . . . . . . . . 159
Solutions To Exercises . . . . . . . . . . . . . . . . . . . . . . 161
ASCII Table . . . . . . . . . . . . . . . . . . . . . . . . . 165
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
2Introduction
MATLAB is an interactive software package which was developed to perform numerical calculations
on vectors and matrices. Initially, it was simply a MATrix LABoratory. However, today it is much more
powerful:
It can do quite sophisticated graphics in two and three dimensions.
It contains a high-level programming language (a \baby C") which makes it quite easy to code com-
plicated algorithms involving vectors and matrices.
It can numerically solve nonlinear initial-value ordinary di erential equations.
It can n solve boundary-value ordinary di erential
It contains a wide variety of toolboxes which allow it to perform a wide range of applications from sci-
ence and engineering. Since users can write their own toolboxes, the breadth of is quite
amazing.
Mathematics is the basic building block of science and engineering, and MATLAB makes it easy to handle
many of the computations involved. You should not think of MATLAB as another complication program-
ming language, but as a powerful calculator that gives you ngertip access to exploring interesting prob-
lems in science, engineering, and mathematics. And this access is available by using only a small number
yof commands and function because MATLAB’s basic data element is a matrix (or an array).
This is a crucial feature of MATLAB | it was designed to group large amounts of data in arrays and
to perform mathematical operations on this data as individual arrays rather than as groups of data. This
makes it very easy to apply complicated operations to the data, and it make it very di cult to do it
wrong. In high-level computer languages you would usually have to work on each piece of data separately
and use loops to cycle over all the pieces. In MATLAB this can frequently do complicated \things" in
one, or a few, statements (and no loops). In addition, in a high-level language many mathematical op-
erations require the use of sophisticated software packages, which you have to nd and, much worse, to
understand since the interfaces to these packages are frequently quite complicated and the documentation
must be read and mastered. In MATLAB, on the other hand, these operations have simple and consistent
interfaces which are quite easy to master. For an overview of the capabilities of MATLAB, type
>> demo
in the Help Navigator and click on MATLAB.
This tutorial is designed to be a concise introduction to many of the capabilities of MATLAB. It makes
no attempt to cover either the range of topics or the depth of detail that you can nd in a reference man-
ual, such as Mastering MATLAB 7 by Duane Hanselman and Bruce Little eld (which is over 850 pages
long) or MATLAB Guide, 2nd edition by Desmond and Nicholas Higham (which is almost 400 pages long).
This tutorial was initially written to provi

  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents