Exercise 1: Use Matlab command to obtain the following a) Extract the fourth row of the matrix generated by magic(6) b) Show the results of 'x' multiply by 'y' and 'y' divides by 'x'. Given x = [0:0.1:1.1] and y=[10:21] c) Generate random matrix 'r' of size 4 by 5 with number varying between -8 and 9 Exercise 2: Use MATLAB commands to get exactly as the figure shown below x=pi/2:pi/10:2*pi; y=sin(x); z=cos (x);
1. For a matrix 5 9 6 (1) Use Matlab command to calculate the transpose matrix (2) Use Matlab to calculate the determinant of the matrix (3) Justify if the matrix has the inverse matrix and use Matlab to calculate the inverse Matrix (4) Use Matlab to calculate the eignvalues and eignvectors of the Matrix
(6) Given the augmented matrix 112 -5 -1 10 1 which of the following row operations would give you the resulting matrix 11 0 lo 2 1 0 -5 -2 - 1 1 - 1 - 1 ? (a) -3R2 - R3 - R (b) 3R2 + R3 R3 (C) -3R2 + R3 R3 (d) R3 - 3R2 + R2 (e) none of the above (7) Find a point where the tangent line to the curve (x)-(x-2)(x2-x-11) is horizontal (a)...
1) a) If A is a 4×5 matrix and B is a 5×2 matrix, then size of AB is: b) If C is a 3×4 matrix and size of DC is 2×4 matrix , then size of D is: c) True or False: If A and B are both 3 × 3 then AB = BA d) The 2 × 2 identity matrix is: I = e) Shade the region 3x + 2y > 6. f) Write the augmented matrix...
1 point) Using homogeneous coordinates, the matrix A which rotates the point (-4,-5,-1) about the z-axis through an angle of counterclockwise as viewed fronm the positive z-axis and then shifts the result by-5 in the x-direction, 4 in the y-direction, and -2 in the z-direction, is given by The image of (-4,-5,-1) under this transformation is 0 , and Z =
1 point) Using homogeneous coordinates, the matrix A which rotates the point (-4,-5,-1) about the z-axis through an angle...
C++ Program To demonstrate ability to write sparse matrix operations. Write a C++ class to create 2D sparse matrices, sum them, and transpose them. You don't have to use operator overloading in this program. Each matrix should be shown in sparse format (which shown only non-zero items). This program will be a command line-based program. Do not interact with user with a menu. Instead, user will use "command language" (aka command entry) as detailed below. Your program will keep at...
(1 point) Using homogeneous coordinates, the matrix A which reflects the point (5,-4,-1) across the x- axis, shifts the result by 1 in the x-direction, -1 in the y-direction, and -1 in the z-direction, and then expands the y coordinate by a factor of 5 is given by A= The image of (5,-4,-1) under this transformation is , and Z =
(1 point) Using homogeneous coordinates, the matrix A which reflects the point (5,-4,-1) across the x- axis, shifts the...
Consider the matrix transformation T:R → R given by T(x,y,z) = (x+ay, x+(a+1)y, x+ay+z) where a = 13. First use inverse of transformation to find T-(2,1,2). if T-(2,1,2)=(b,c,d) then b+c+d =
Directions: In 7-10, determine the rectangular equation given its polar form. [7] = 9 A. x + y2 = 3 B. x + y2 = 9 C. x² + y2 = 81 D. x + y = 9 [8] r = - 179csce A. X = -179 B. x = 179 c. y = -179 D. y = 179 E. none of these [9] @ = 13 A. y =- 13 3 x B.y = c. y = -13 D....
Questions 32-34 Are based on the following vectors: A 4 5 6 7 8 9 10 C 12 4 6 8 10 12 14 D 0 0 0 0 0 0 0)] 12) Which command will crcate the following macix? 4567,910 46 10 12 o 0 0 0 00 d) all of the above e) mone of the above 33) Which command will creale the following matrix? 8 1 10 9 112 o 14 d) all of the above e)...