Page 1 of 1

A) Matrix Operations (3 Marks) Generate matrices A, B and C by: >>A = fix(10*rand (2,3)), >>B = fix(10*rand (2,3)); >>C

Posted: Wed Apr 27, 2022 3:09 pm
by answerhappygod
A Matrix Operations 3 Marks Generate Matrices A B And C By A Fix 10 Rand 2 3 B Fix 10 Rand 2 3 C 1
A Matrix Operations 3 Marks Generate Matrices A B And C By A Fix 10 Rand 2 3 B Fix 10 Rand 2 3 C 1 (355.35 KiB) Viewed 35 times
A) Matrix Operations (3 Marks) Generate matrices A, B and C by: >>A = fix(10*rand (2,3)), >>B = fix(10*rand (2,3)); >>C = fix(10*rand (3,3)); These matrices have entries randomly selected from the numbers 0, 1 ...9. Calculate the following using Matlab. 1. A*C 2. Determinant of C 3. A 4. CP 5. LU Decomposition of matrix A 6. Row reduced echelon form B) Solving Ax = b (3 Marks) In this question you will find the general solution x e R’to a linear system Ax= b of 5 equations in 5 variables 11,12,13,14,13. Here A is the 5 x 5 coefficient matrix and b E Rʻis the given right-hand side of the system using Matlab. >> N=5 >> A = round (10* rand (n)) >> b = round (10*rand (N,1)) 1. reduced row echelon form. 2. Inverse of the matrix 3. LU decomposition C) Using Matlab, solve this system of linear equations Ax = b using Cramer's Rule(3 Marks) 3X1 + 4x2 = 2 2x1 + 3x2 = 1 X3 + 3x4 = 0) -X4 = 1 +