Please read the instructions and give the correct expression
1 view (last 30 days)
Show older comments
Santos Solpos
on 19 Nov 2019
Commented: Walter Roberson
on 21 Nov 2019
You need to solve and give the correct matlab expression and result
A= C= E=
1 2 3 4 16 2 3 13 1 0 0 0
6 8 1 5 5 11 10 8 0 1 0 0
9 4 2 7 9 7 6 12 0 0 0 1
9 4 7 2 4 14 15 1 1 0 0 0
B= D= F=
1 1 1 1 1 0 0 0 3 6 9 12
1 1 1 1 0 3 0 0 18 24 3 15
1 1 1 1 0 0 5 0 27 12 6 21
1 1 1 1 0 0 0 7 27 12 21 6
Question
- Create this matrix from the given matrices in Part V. (Use matrix shortcuts). Write the Matlab expression and Result.
T=
1 2 3 4 2 2 2 2 4 3 3 3
6 8 1 5 2 2 2 2 3 4 3 3
9 4 2 7 2 2 2 2 3 3 3 4
9 4 7 2 2 2 2 2 4 3 3 3
1 4 7 10 16 2 3 13 1 0 0 0
16 22 1 13 5 11 10 8 0 3 0 0
25 10 4 19 9 7 6 12 0 0 5 0
25 10 19 4 4 14 15 1 0 0 0 7
5 Comments
Walter Roberson
on 20 Nov 2019
Look at the top right corner of T, the part starting from 1 2 3 4 . Look at that 4 x 4 block. Now look at your variables. Do you see that same 4 x 4 block in any of your variables?
Accepted Answer
Santos Solpos
on 21 Nov 2019
1 Comment
Walter Roberson
on 21 Nov 2019
The division questions are ambiguous B/2C can be interpreted as B/2*C or as B/(2*C) depending on the context and the font.
AB can be either matrix multiplication * or element-by-element multiplication .* which are different operators.
B/C can be either matrix division / or element-by-element division ./
More Answers (2)
David Hill
on 19 Nov 2019
Hint
T=[A,2*B,3*B+E;F-2*B,C,D];
1 Comment
Steven Lord
on 19 Nov 2019
If a problem sounds like a homework assignment (which this absolutely does), please don't simply provide the answer! [The more work the student shows the more generous I would be with hints; if they'd posted what you did except wrote F+2*B instead of F-2*B I'd just go ahead and fix it for them.]
A hint would have been a pointer to some of the introductory documentation, like the Matrices and Arrays section of the Getting Started with MATLAB chapter.
Santos Solpos
on 21 Nov 2019
2 Comments
Walter Roberson
on 21 Nov 2019
It would be possible to use blkdiag() in a solution, but the rest of the solution would mostly consist of working around the fact that you had used blkdiag()
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!