Making given matrix singular

Making the given matrix singular by adding a matrix with multiplier.


Updated Wed, 19 Nov 2014 00:23:41 +0000

View License

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 (2023). Making given matrix singular (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Title name changed to 'Making given matrix singular'.

Update the original code so that no restriction on A and D.