Making given matrix altered to have a certain constant for its determinant
Updated 19 Feb 2015

View License

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.

Cite As

Feng Cheng Chang (2024). mtx_d(A,D,d) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Inspired: Matrix inverse and determinant

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Update the m-file.