Making given matrix singular
Version 1.2.0.0 (257 Bytes) by
Feng Cheng Chang
Making the given matrix singular by adding a matrix with multiplier.
The given square matrix A can becomes a singular matrix M by adding any matrix D with multiplier s. That is,
M = A + D*s,
where s is to be determined, so that M is singular. The scalar s is picked as maximum absolute value among the computed non-zero scalers. If A is singular, then s is zero regardless of D.
Cite As
Feng Cheng Chang (2024). Making given matrix singular (https://www.mathworks.com/matlabcentral/fileexchange/41442-making-given-matrix-singular), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.