Find LU factorization of A.solve the system Ax=b using LU
fact
A=(1 -3 0, 0 1...
Find LU factorization of A.solve the system Ax=b using LU
fact
A=(1 -3 0, 0 1 -3,2 -10 2). b=(-5,-1,-20)
Let A = {0, 3, 6, 9, 12}, B = {−2, 0, 2, 4, 6, 8,...
Let A = {0, 3, 6, 9, 12}, B = {−2, 0, 2, 4, 6, 8, 10, 12}, and C
= {4, 5, 6, 7, 8, 9, 10}.
Determine the following sets:
i. (A ∩ B) − C
ii. (A − B) ⋃ (B − C)
2. Write the output matrix “v”
t = [2:4];
k = [1:3];
v = t.*k –...
2. Write the output matrix “v”
t = [2:4];
k = [1:3];
v = t.*k – k.^2
4. Given: D = [1 2 3 4 5 6 7 8 9] (3x3) . Which command will
extract the submatrix [1 2 3 4 5 6] (2x3) ?
a. D[1:2,1:3]
b. D(1,2 ;1,3)
c. [D(1:2),D(1:3)]
d. D(1:2,1:3)
14. What will be the dimension of matrix B?
B=[ones(3) zeros(3) rand(3); 2*eye(9)]
18. Find the value of “C”
A=1:2:10;
B=linspace(1,5,5);
C = length(A)*B(2)+A(5)*B(3);
19....