Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ForLion (version 0.1.0)

svd_inverse: SVD Inverse Of A Square Matrix This function returns the inverse of a matrix using singular value decomposition. If the matrix is a square matrix, this should be equivalent to using the solve function. If the matrix is not a square matrix, then the result is the Moore-Penrose pseudo inverse.

Description

SVD Inverse Of A Square Matrix This function returns the inverse of a matrix using singular value decomposition. If the matrix is a square matrix, this should be equivalent to using the solve function. If the matrix is not a square matrix, then the result is the Moore-Penrose pseudo inverse.

Usage

svd_inverse(x)

Value

the inverse of the matrix x

Arguments

x

the matrix for calculation of inverse

Examples

Run this code
x = diag(4)
svd_inverse(x)

Run the code above in your browser using DataLab