Given a non-singular matrix A, an arbitrary matrix D and a spesfic constant d, applying the following routine
[M,s] = mtx_d(A,D,d)
to find a scaler s and the resulted matrix M, such that
M = A + D*s and det(M) = d.
The constant d may be real or complex. Specially, if d = 0, then M is a singular matrix.
Feng Cheng Chang (2022). mtx_d(A,D,d) (https://www.mathworks.com/matlabcentral/fileexchange/48529-mtx_d-a-d-d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Matrix inverse and determinant
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!