Please read the instructions and give the correct expression

1 view (last 30 days)
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
  1. 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
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?

Sign in to comment.

Accepted Answer

Santos Solpos
Santos Solpos on 21 Nov 2019
Hello Sir David Hill
Can you check my answers? I attached pdf of my answers to matlab problems. I am hoping that you will give a comment.
  1 Comment
Walter Roberson
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 ./

Sign in to comment.

More Answers (2)

David Hill
David Hill on 19 Nov 2019
Hint
T=[A,2*B,3*B+E;F-2*B,C,D];
  1 Comment
Steven Lord
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.

Sign in to comment.


Santos Solpos
Santos Solpos on 21 Nov 2019
Hello David Hill
I tried using blkdiag. Is it correct?
  2 Comments
Walter Roberson
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()

Sign in to comment.

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!