Making given matrix singular
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.
Zitieren als
Feng Cheng Chang (2024). Making given matrix singular (https://www.mathworks.com/matlabcentral/fileexchange/41442-making-given-matrix-singular), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
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 |