Matrix Operations
Title
Question
Multiply 1st and 2nd row with scalars, 3\r\nand 4 respectively, and determine the determinant of the resultant matrix.
how to solve this
Scilab Matrix-Operations 13-14 min 30-40 sec
Answers:
For a matrix A, type the following:
A(1,:) = A(1,:)*3;
A(2,:) = A(2,:)*4;
det(A)
det(A)
First of all, define matrix A of all the values equal to 1 using ones command.
Then type, A(1,:)=3 and A(2,:)=4 to get the desired matrix and find out it's determinant.
Login to add comment