Question: 3. Given matrices A= [9 12 13 0; 10 3 6 15; 25 10 3] and B-[1 4 2 11; 9 8 16 7;
3. Given matrices A= [9 12 13 0; 10 3 6 15; 25 10 3] and B-[1 4 2 11; 9 8 16 7; 12 50 3] provide short MATLAB commands to: a) Create matrix called C which is A and B on top of each other. b) Create matrix called D made up of first two rows of A and last two rows of B. c) Make 3rd column of C be the numbers from 1 to 6. d) Add 1 to just odd-index elements of A e) Create following matrix (i.e do not type values, write single-line matlab statement) [3 0 0 4 4 01 0 3 0 4 4 0 F = 0 3 0 4 4 0 1 1 2 2 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
