Making given matrix singular

Making the given matrix singular by adding a matrix with multiplier.
276 Downloads
Updated 19 Nov 2014

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 (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 Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Title name changed to 'Making given matrix singular'.

1.1.0.0

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

1.0.0.0