How to solve this matrix equation
3 ビュー (過去 30 日間)
古いコメントを表示
回答 (2 件)
Daniel Vieira
2023 年 2 月 17 日
x=A\b
where A is the matrix and b is the left-hand vector. notice that, since this is not a square matrix, the solution is not exact, but a least-squares approximation.
0 件のコメント
Les Beckham
2023 年 2 月 17 日
編集済み: Les Beckham
2023 年 2 月 17 日
Since there are more equations than unknowns, there is no unique solution. A least-squares solution can be found using the \ operator, documented here: https://www.mathworks.com/help/matlab/ref/mldivide.html
A = [ 0.23 1.77 -2.57
0.83 1.17 -3.94
1.5 0.5 -3.46
1.94 0.06 -1.37
1.17 0.83 3.94
0.06 1.94 1.37 ];
b = [48.8; 41.1; 39.8; 31.2; 46.8; 53.3];
sigma = A\b
A*sigma
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!