Question
Use MATLAB OR SCILAB TO PERFORM THE FOLLOWING MATRIX OPERATION
Use MATLAB or Scilab to perform the following matrix operation 1 7 -2 3 10 91 5 -1 1) 2 51 13 7 -54 21 31 4 -15 2 9 6 18 -4 -
0 0
Add a comment Improve this question Transcribed image text
Answer #1

First we have to enter the two matrices. Let 'a' be the first matrix and 'b' be the second matrix. The matrices are typed in the following command

a=[1 7 -2 3;5 -1 9 13;2 51 31 4;6 18 -4 2]

and then press enter

output is

a =

1 7 -2 3
5 -1 9 13
2 51 31 4
6 18 -4 2

b=[10 5 91;7 -54 21;-15 2 9;8 -2 31]

press enter

output is

b =

10 5 91
7 -54 21
-15 2 9
8 -2 31
The matrix operation is

a*b

press enter then we get the answer

ans =

113 -383 313
12 71 918
-56 -2690 1656
262 -954 950

Add a comment
Know the answer?
Add Answer to:
Use MATLAB OR SCILAB TO PERFORM THE FOLLOWING MATRIX OPERATION Use MATLAB or Scilab to perform...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT