Compute reciprocal condition of square matrix in 1-norm
Math Functions / Matrices and Linear Algebra / Matrix Operations
The Reciprocal Condition block computes the reciprocal of the condition number for a square input matrix A.
y = rcond(A) % Equivalent MATLAB code
where κ is the condition number (κ ≥ 1), and y is the scalar output (0 ≤ y < 1).
The matrix 1-norm, , is the maximum column-sum in the M-by-M matrix A.
For a 3-by-3 matrix:
Golub, G. H., and C. F. Van Loan. Matrix Computations. 3rd ed. Baltimore, MD: Johns Hopkins University Press, 1996.
Supported Data Types
Double-precision floating point
Single-precision floating point
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Generated code relies on
memset functions (
string.h) under certain