MATLAB basic matrix functions and operations

Source: Internet
Author: User

eye matrix
zeros matrix
ones matrix
Rand uniformly distributed random array
genmarkov generation random Markov matrix
linspace Linear Equality vector
logspace logarithm equals vector
logm matrix logarithm operation
cumprod Matrix Element Accumulation multiplication
cumsum Matrix Element Accumulation and
Toeplitz matrix
disp display matrix and text content
length determines the length of the vector
size determines the dimension of the matrix
diag creates a diagonal matrix or extracts a diagonal vector
Find to find non-zero elements 1 subscript
matrix dimension change
rot90 Matrix Rotation 90 degrees counterclockwise
sub2ind full subscript conversion to single subscript
tril extraction bottom Triangle Array
triu extraction of non-zero elements in the upper Triangle Matrix
conj matrix
companion adjoint matrix
value of the det determinant
norm matrix or Vector norm
nnz Matrix number of
null empty vector or an element in the matrix
Orth orthogonal basis
rank matrix rank
trace Matrix Trace
cond matrix condition count
inv matrix Inverse
rcond inverse matrix condition number
Lu decomposition or Gaussian elimination method
pinv pseudo inverse
QR Code Decomposition
Givens transformation
linsolve solves linear equations
LYAP Lyapunov equation
Hess hessenberg matrix
poly feature polynomials
Schur decomposition
expm matrix index
expm1 matrix Index pade approximation of
expm2 returns the matrix index using the Taylor series
expm3 returns the matrix index using the feature value and feature vector
funm calculates the General Matrix Function
logm matrix logarithm
sqrtm matrix square root

Spec matrix feature value
Gspec matrix bundle feature value
Bdiag block matrix, generalized feature vector
Eigenmar-regularization Markov features
Kov Vector
Pbig feature spatial projection
SVD Singular Value Decomposition
SVA Singular Value Decomposition Approximation

Cumprod Accumulation
Cumsum element sum
Hist statistical frequency Histogram
Max
Min minimum
Mean Mean Value
Median value
Prod element Product
Sort by size to small
STD standard deviation
Sum element and
Trapz trapezoid numerical integral
Corr calculates correlation coefficient or variance

Sparse Matrix
Adj2sp ing matrix to Sparse Matrix
Full sparse matrix to full matrix
Mtlb_sparse converts SCILAB sparse matrix to MATLAB sparse matrix format
Sp2adj converts a sparse matrix to an adjacent matrix
Speye sparse matrix mode unit matrix
Sprand, sparse matrix, random matrix
Spzeros Sparse Matrix
Lufact sparse matrix Lu Decomposition
Lusolve sparse matrix equation solving
Spchol sparse matrix Cholesky Decomposition

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.