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.
Citation pour cette source
Feng Cheng Chang (2024). Making given matrix singular (https://www.mathworks.com/matlabcentral/fileexchange/41442-making-given-matrix-singular), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
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 |