Task:1. Create a Matrix A with the following properties:Single Row with that starts with 10 and ends with 100. The constant difference is 3.2. Create a Matrix B which is a column vector that starts...


Matrix Creation<br>My Solutions ><br>Task:<br>1. Create a Matrix A with the following properties:Single Row with that starts with 10 and ends with 100. The constant difference is 3.<br>2. Create a Matrix B which is a column vector that starts with 50 and counts down to 0.<br>3. Create the following matrices (a) C1 is a 5x5 magic matrix, (b) C2 is a 5x5 identity Matrix. (c) C3 is a 5x5 matrix whose elements are all 3. (d) C4 is a 5x5 zero matrix.<br>4. Create a matrix D using the command: D = [C1 C2; C3 C4]<br>5. Create a matrix E using the command: E= [C3 C1; C2 C1]<br>6. Evaluate: F = D² – 2ED + 31<br>7. Evaluate: G = 4E – 5DE<br>Script e<br>A Save<br>C Reset<br>I MATLAB Documentation<br>1 %Create a Matrix A with the following properties:Single Row with that starts with 10 and ends with maximum value of 100.<br>The constant<br>differer<br>2 A =<br>3 % Create a Matrix B which is a column vector that starts with 50 and counts down to e.<br>4 B =<br>5 %Create the following matrices<br>6 % (a) c1 is a 5x5 magic matrix,<br>7 C1=<br>8 %(b) c2 is a 5x5 identity Matrix.<br>9 C2=<br>10 % (c) C3 is a<br>5x5 matrix whose elements are all 3.<br>11 C3=<br>12 %(d) C4 is a 5x5 zero matrix.<br>13 C4-<br>14 %Create a matrix D<br>|15 D - [C1 C2; сз С4];<br>16 %Create a matrix E<br>17 Е- [С3 С1; с2 С1];<br>18 %Evaluate F:<br>19 F=<br>20 %Evaluate G:<br>21 G=<br>22<br>

Extracted text: Matrix Creation My Solutions > Task: 1. Create a Matrix A with the following properties:Single Row with that starts with 10 and ends with 100. The constant difference is 3. 2. Create a Matrix B which is a column vector that starts with 50 and counts down to 0. 3. Create the following matrices (a) C1 is a 5x5 magic matrix, (b) C2 is a 5x5 identity Matrix. (c) C3 is a 5x5 matrix whose elements are all 3. (d) C4 is a 5x5 zero matrix. 4. Create a matrix D using the command: D = [C1 C2; C3 C4] 5. Create a matrix E using the command: E= [C3 C1; C2 C1] 6. Evaluate: F = D² – 2ED + 31 7. Evaluate: G = 4E – 5DE Script e A Save C Reset I MATLAB Documentation 1 %Create a Matrix A with the following properties:Single Row with that starts with 10 and ends with maximum value of 100. The constant differer 2 A = 3 % Create a Matrix B which is a column vector that starts with 50 and counts down to e. 4 B = 5 %Create the following matrices 6 % (a) c1 is a 5x5 magic matrix, 7 C1= 8 %(b) c2 is a 5x5 identity Matrix. 9 C2= 10 % (c) C3 is a 5x5 matrix whose elements are all 3. 11 C3= 12 %(d) C4 is a 5x5 zero matrix. 13 C4- 14 %Create a matrix D |15 D - [C1 C2; сз С4]; 16 %Create a matrix E 17 Е- [С3 С1; с2 С1]; 18 %Evaluate F: 19 F= 20 %Evaluate G: 21 G= 22
Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here