Use colon notation to rewite a linear system
1 次查看(过去 30 天)
显示 更早的评论
Suppose A is an augmented matrix representation of a linear system.
A = [-1, 2, -3; 4, -5, 6]
Rewrite as matrix equation Cx = D. Assign the matrices C and D in MATLAB using colon notation to define C and D using A
Find solution for x = C^(-1)*D
3 个评论
James Tursa
2021-11-17
The A matrix is 2x3, but I assumed that the phrase "augmented matrix" meant that it contained both C and D in one matrix, C being the left 2x2 part of A and D being the right 2x1 column of A. I.e., C and D are stacked side-by-side to form A.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!