Current location - Training Enrollment Network - Mathematics courses - What is the difference between "singular value decomposition" and "EIG" in matlab?
What is the difference between "singular value decomposition" and "EIG" in matlab?
Svd gets the singular value of A, eig gets the eigenvalue of A ... A' represents the transposed matrix of A, and the square root of n nonnegative eigenvalues of A'*A is called the singular value of matrix A, which is denoted as σi(A).

(1)S=svd(A) means that matrix A is decomposed by svd, and the result of decomposition is three matrices. If there is only one return value, the singular value vector of A can be obtained.

(2)eig(A) refers to finding the eigenvalue of matrix A. ..

MATLAB is a commercial mathematics software produced by MathWorks Company in the United States. It is an advanced technical computing language and interactive environment, which is used for algorithm development, data visualization, data analysis and numerical calculation. Mainly includes MATLAB and Simulink.

MATLAB is the combination of matrix and laboratory, which means matrix laboratory. It is a high-tech computing environment released by mathworks Company in the United States, which is mainly oriented to scientific computing, visualization and interactive programming. It integrates many powerful functions such as numerical analysis, matrix calculation, scientific data visualization, modeling and simulation of nonlinear dynamic systems in an easy-to-use window environment, and provides comprehensive solutions for scientific research, engineering design and many scientific fields that need effective numerical calculation, and to a great extent gets rid of the editing mode of traditional non-interactive programming languages (such as C and Fortran), which represents the advanced level of international scientific computing software.