42. The following matrix is defined in MATLAB: T = 2 4 6 8 10 12 14...
Question:
42. The following matrix is defined in MATLAB:
T =
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 By hand (pencil and paper) write what will be displayed if the following commands are executed by MATLAB. Check your answers by executing the commands with MATLAB.
(a) D=[T(1,1:4);T(3,2:5)]
(b) E=[T(:,4); T(2,:)']
(c) F(3:5,3:5)=T(1:3,1:3)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: