Matrix Division of two 4x1 matrices to get a 4x4 matrix

8 ビュー (過去 30 日間)
aaron pung
aaron pung 2015 年 10 月 26 日
回答済み: James Tursa 2015 年 10 月 27 日
I have three matrices: S, Sprime, and M. They are:
Sprime = [0.5; 0.5; 0; 0];
S = [1; 0; 0; 1];
M = 0.5*[1, 1, 0, 0; ...
1, 1, 0, 0; ...
0, 0, 0, 0; ...
0, 0, 0, 0]; ...
In the equation: Sprime = M*S, the math works out... M*S == S. However, I'm having trouble solving for M and getting the same matrix shown above. Is this possible? Or is it too arbitrary for some reason?.

採用された回答

James Tursa
James Tursa 2015 年 10 月 27 日
In general there will be no unique solution for M if the only thing you have to start with is S and Sprime. If you think about it, that is 4 equations and 16 unknowns. So using various methods in MATLAB may yield a solution that will not match what you started with.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOperating on Diagonal Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by