svd_inverse: SVD Inverse Of A Square Matrix This function returns the...

svd_inverseR Documentation

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)

Arguments

x

the matrix for calculation of inverse

Value

the inverse of the matrix x

Examples

x = diag(4)
svd_inverse(x)


ForLion documentation built on April 11, 2025, 5:38 p.m.