Download Macro

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Covariance and contravariance of vectors wikipedia , lookup

Rotation matrix wikipedia , lookup

Linear least squares (mathematics) wikipedia , lookup

Jordan normal form wikipedia , lookup

Determinant wikipedia , lookup

Eigenvalues and eigenvectors wikipedia , lookup

Matrix (mathematics) wikipedia , lookup

Singular-value decomposition wikipedia , lookup

System of linear equations wikipedia , lookup

Perron–Frobenius theorem wikipedia , lookup

Orthogonal matrix wikipedia , lookup

Four-vector wikipedia , lookup

Principal component analysis wikipedia , lookup

Cayley–Hamilton theorem wikipedia , lookup

Non-negative matrix factorization wikipedia , lookup

Ordinary least squares wikipedia , lookup

Matrix multiplication wikipedia , lookup

Gaussian elimination wikipedia , lookup

Matrix calculus wikipedia , lookup

Transcript
Macros
Data Tables
Arrays
Macros
• VBA user subroutine to automate repetitive
operations in excel
• Keyboard shortcut: fast way to make the macro
run (CTRL+ «letter»)
• Activate the macro
• Attach macros to a button on the Ribbon or the
Quick access toolbar
Data tables
• To do complex sensitivity analysis
• One dimensional (one variable is changed)
• Two dimensional (two variables are changed)
• Put formulas on the top row and the variable we wish to vary in the
column
• Highlight the table area
• Data/sensitivity analysis/ Data table
• Select the cell input in row or in column
Data Tables
• Two dimensional (two variables are changed)
• Upper left hand corner of the Table contains
the formula
• Two variables we wish to vary in the adjacent
column and row
Arrays, matrices
• Row vector, column vector, matrix
• Matrix operations (addition, scalar multiplication)
• Transpose(matrix)
• matrix multiplication: Mmult(matrix 1; matrix 2)
• Inverse of a matrix: Minverse(matrix)
• CTRL+SHIFT+ENTER
Solving systems of symultaneous linear
equations
•
•
•
•
Ax=b
A matrix of coefficients
x=vector of unknowns
b=vector of constants