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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 33 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 +
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply