How can calculate the matrix inverse

2 Ansichten (letzte 30 Tage)
Ahmed Galal
Ahmed Galal am 19 Jun. 2021
Bearbeitet: John D'Errico am 19 Jun. 2021
How can calculate R in the following equation in MATLAB
C=D*R*D' % C, D, D' are square matrices, D' is the transpose of D

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Jun. 2021
C=D*R*D'
implies that
C * inv(D') = D * R
inv(D) * C * inv(D') = R
so
R = D\C/D';
  4 Kommentare
Walter Roberson
Walter Roberson am 19 Jun. 2021
What is
size(C)
size(D)
rank(C)
rank(D)
John D'Errico
John D'Errico am 19 Jun. 2021
Bearbeitet: John D'Errico am 19 Jun. 2021
As importantly, what is the rank of D? Is D numerically singular? If it is, then unless C is ALSO singular, and has the same rank as D, AND C has some special properties, then no solution can exist.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Sparse Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by