mands and Functions
Dr. Brian Vick
Mechanical Engineering Department
Virginia Tech
General mands
Operators and Special Characters / 3
Commands for Managing a Session / 3
Special Variables and Constants / 4
System and mands / 4
Input/Output and mands
Input/mands / 5
Format Codes for fprintf and fscanf / 5
Numeric Display Formats / 5
Vector, Matrix and mands
mands / 6
Special Matrices / 6
Matrix Arithmetic / 6
mands for Solving Linear Equations / 6
Cell Array Functions / 7
Structure Functions / 7
mands
Basic xy mands / 8
Plot mands / 8
Specialized mands / 8
Colors, Symbols and Line Types / 9
Three-Dimensional mands / 9
Histogram Functions / 9
mands – 1
Programming
Logical and Relational Operators / 10
Program Flow Control / 10
Logical Functions / 10
M-Files / 11
Timing /11
Mathematical Functions
Exponential and Logarithmic Functions / 12
Trigonometric Functions / 12
Hyperbolic Functions / 12
Complex Functions / 13
Statistical Functions / 13
Random Number Functions / 13
Numeric Functions / 13
String Functions / 13
Numerical Methods
Polynomial and Regression Functions / 14
Interpolation Functions / 14
Numerical Integration Functions / 14
Numerical Differentiation Functions / 14
ODE Solvers / 15
Predefined Input Functions / 15
Symbolic Math Toolbox
Functions for Creating and Evaluating Symbolic Expressions / 16
Functions for Manipulating Symbolic Expressions / 16
Symbolic Calculus Functions / 16
Symbolic Solution of Algebraic and Transcendental Equations / 17
Symbolic Solution of Differential Equations / 17
Laplace Transform Functions / 17
Symbolic Linear Algebra Functions / 17
mands – 2
General mands
Operators and Special Characters
+ Plus; addition operator.
- Minus; subtraction operator.
* Scalar and matrix multiplication operator.
.* Array multiplication operator.
^ Scalar and matrix exponentiation operator.
.^ Array exponentiation operator.
\ Left-div
mands 来自淘豆网www.taodocs.com转载请标明出处.