MATLAB - Summary of Matrix and Array Operations

Description

MATLAB - Summary of Matrix and Array Operations

Reviews
Shared by: ron sajenes
Stats
views:
310
rating:
not rated
reviews:
0
posted:
9/28/2009
language:
English
pages:
0
Summary of Matrix and Array Operations Solving systems of Linear Equations General Solution The general solution to a system of linear equations AX = b describes all possible solutions. You can find the general solution by: 1 Solving the corresponding homogeneous system AX = 0. Do this using the null command, by typing null(A). This returns a basis for the solution space to AX = 0. Any solution is a linear combination of basis vectors. 2 Finding a particular solution to the nonhomogeneous system AX = b. You can then write any solution to AX = b as the sum of the particular solution to AX = b, from step 2, plus a linear combination of the basis vectors from step 1. Overdetermined System Overdetermined System Overdetermined System Overdetermined System Iterative Methods for Solving Systems of Linear Equations Factorization Cholesky Factorization Factorization Cholesky Factorization Factorization LU Factorization Factorization LU Factorization Factorization QR Factorization Factorization QR Factorization Factorization QR Factorization Eigenvalues Eigenvalue Decomposition Eigenvalues Eigenvalue Decomposition Eigenvalues Schur Decomposition Eigenvalues Singular Value Decomposition Eigenvalues Singular Value Decomposition Polynomials Polynomials Polynomials Representing Polynomials Polynomials Roots of Polynomials Polynomials Derivatives of Polynomials Polynomials Derivatives of Polynomials Polynomials Convolution of Polynomials Polynomials Partial Fraction Expansions of Polynomials Polynomials Partial Fraction Expansions of Polynomials Polynomials Polynomial Curve Fitting of Polynomials Polynomials Polynomial Curve Fitting of Polynomials Polynomials Characteristic Polynomials Polynomials Integration Polynomials Integration Polynomials Integration Differential Equations Ordinary Differential Equations Differential Equations Ordinary Differential Equations Differential Equations Ordinary Differential Equations Differential Equations Ordinary Differential Equations LU Factorization    MATLAB's function lu computes the LU factorization PA = LU of the matrix A using a partial pivoting strategy. Matrix L is unit lower triangular, U is upper triangular, and P is the permutation matrix. Since P is orthogonal, the linear system Ax = b is equivalent to LUx =PTb. LU Factorization Cholesky Factorization   For linear systems with symmetric positive definite matrices the recommended method is based on the Cholesky factorization A = HTH of the matrix A. Here H is the upper triangular matrix with positive diagonal entries. MATLAB's function CHOL calculates the matrix H from A or generates an error message if A is not positive definite. Once the matrix H is computed, the solution x to Ax = b can be found. Least Squares Solution and Orthogonalization   MATLAB's backslash operator \ can be used to find the least squares solution x = A\b. For the rank deficient systems a warning message is generated during the course of computations. A second MATLAB's function that can be used for computing the least squares solution is the pinv command. The solution is computed using the following command x = pinv(A)*b. Here pinv stands for the pseudoinverse matrix. Least Squares Solution and Orthogonalization Least Squares Solution and Orthogonalization Householder QR Factorization MATLAB function qr computes matrices Q and R using Householder reflectors. The command [Q, R] = qr(A) generates a full form of the QR factorization of A while [Q, R] = qr(A, 0) computes the reduced form. The least squares solution x to Ax = b satisfies the system of equations RTRx = ATb. This follows easily from the fact that the associated residual r = b – Ax is orthogonal to the column space of A. Thus no explicit knowledge of the matrix Q is required. Householder QR Factorization Givens QR Factorization Modified Gram-Schmidt Orthogonalization Pseudoinverse of a Matrix Matrix Eigenvalue Problem Given a square matrix A = [aij], 1 i, j n, find a nonzero vector x n and a number that satisfy the equation Ax = x. Number is called the eigenvalue of the matrix A and x is the associated right eigenvector of A. Gershgorin Theorem states that each eigenvalue of the matrix A satisfies at least one of the following inequalities | - akk| rk, where rk is the sum of all offdiagonal entries in row k of the matrix |A| (see, e.g., [1], pp.400-403 for more details). Function Gershg computes the centers and the radii of the Gershgorin circles of the matrix A and plots all Gershgorin circles. The eigenvalues of the matrix A are also displayed. Matrix Eigenvalue Problem Matrix Eigenvalue Problem

Related docs
Arrays in Matlab Why arrays Array
Views: 180  |  Downloads: 0
Introduction to Matlab
Views: 20  |  Downloads: 3
matlab_quickref
Views: 2  |  Downloads: 1
MATLAB � Quick Reference
Views: 30  |  Downloads: 12
MATLAB Quick Reference
Views: 60  |  Downloads: 22
matlab-primer
Views: 1  |  Downloads: 0
Introduction to Matlab
Views: 190  |  Downloads: 5
Introduction to Matlab
Views: 112  |  Downloads: 21
Introduction to “MATLAB”
Views: 21  |  Downloads: 6
Introduction to MATLAB
Views: 10  |  Downloads: 3
Matlab Tutorial
Views: 934  |  Downloads: 199
MATLAB Tutorial
Views: 90  |  Downloads: 21
Matlab� Tutorial
Views: 226  |  Downloads: 39
Introduction to MATLAB
Views: 54  |  Downloads: 15
premium docs
Other docs by ron sajenes
Programmable Logic Controllers
Views: 106  |  Downloads: 8
Local Area Network
Views: 75  |  Downloads: 8
Erlang Computations
Views: 137  |  Downloads: 6
An Introductory on MATLAB and Simulink
Views: 433  |  Downloads: 23
Physical Layer and Digital Transmission
Views: 119  |  Downloads: 6
Transmission Line Theory
Views: 616  |  Downloads: 26
analog and digital multiplexing
Views: 214  |  Downloads: 13
Circuit Switching and Telephone Network
Views: 204  |  Downloads: 18
Fourier Transform
Views: 65  |  Downloads: 10
Matlab - Graphs
Views: 1568  |  Downloads: 34
Overview of Data Communications
Views: 155  |  Downloads: 10