Making given matrix singular

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

You are now following this Submission

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 (2026). Making given matrix singular (https://www.mathworks.com/matlabcentral/fileexchange/41442-making-given-matrix-singular), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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