Question: Please use in MATLAB fil. 1- On command window in MATLAB, make/define a 10 by 10 matrix whose first column has elements that are multiples

Please use in MATLAB fil.

1- On command window in MATLAB, make/define a 10 by 10 matrix whose first column has elements that are multiples of 2 i.e. 2 4 6 8 10 12 14 16 18 20, second column has elements that are multiples of 3 i.e. 3 6 9 12 15 18 21 24 27 30, third column has elements that are multiples of 4 i.e. 4 8 12 16 20 24 28 32 36 40, and this pattern would continue for all the columns till 10th column which should have elements that are multiples of 11. In summary jth column should have elements that are multiples of j+1. The first row of the 10 by 10 matrix should be 2 3 4 11.

2-

On command window in MATLAB, make/define a 13 by 13 matrix whose first row has elements that are multiples of 2 i.e. 2 4 6 8 10 12 14 16 18 20 22 24 26 second row has elements that are multiples of 3 i.e. 3 6 9 12 15 18 21 24 27 30 33 36 39 third row has elements that are multiples of 4 i.e. 4 8 12 16 20 24 28 32 36 40 44 48 52 and this pattern would continue for all the rows till 13th row which should have elements that are multiples of 14. In summary jth column should have elements that are multiples of j+1. The first column of the 13 by 13 matrix should be 2 3 4 5 6 7 8 9 10 11 12 13 14

Note: You must utilize colon operator that is : as taught to you in first week second class. You are not allowed to manually enter the 169 elements.

3-

On command window in MATLAB define a vector L = [0.2:0.2:20] and use the formula Acircle = piL2/4 and Asquare = L2 to find the areas respectively, using element by element operations.

Hint: Write like this Acircle = piL.^2/4 and Asquare = L.^2

Question: Why dot . is so important in the formulas and what happens if you remove it?

4-

On command window in MATLAB define a row vector C = [3:4:25], a row vector D = [5, 2, -4, 11, 12, -5], column vector E = [5; 7; 19] and a column vector F = [40; 0; -2]

  1. Perform element by element multiplication operation for the two row vectors C and D
  2. Perform element by element multiplication operation for the vector C and transpose of vector D. In MATLAB, D' will generate the transpose of the matrix D
  3. Find CDT where T is the transpose of a matrix. In MATLAB, D' will generate the transpose of the matrix D. Note: This is a simple matrix multiplication that is asked in this problem (not element by element operation).
  4. Perform element by element multiplication operation for/between the vectors E and F.

5-

If A = [1 2; 3 4], on command window in MATLAB perform 3^A and 3.^

6-

On command window in MATLAB define H = 7, G = [7] and K = [1 5 7; 8 9 10]. Find

  1. M = G+K b) N = H+K c) Y = H+G.

Please Use MATLAB not just handwriting.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!