subject

Generating integer matrices with integer inverses For certain simulations, it is con venient to have a collection of randomly-generated matrices that have integer entries and whose inverses also have integer entries. Argue, using Theorem 14, that an integer matrix with determinant equal to 1 or - will have an integer inverse. One easy way to create an integer matrix A with determinant equal to 1 or -1 is to set A LU where L is a lower-triangular integer matrix with l's and -'s on its diagonal and where U is an upper-triangular integer matrix with l's and -1's on its diagonal. Then, since det(A) det(L) det(U), we see that both A and A will be integer matrices Use these ideas to create a set of ten randomly generated (5 x 5) integer matrices with integer inverses. For each matrix A created, use the MATLAB inv command to generate the inverse for A. Note, because of roundoff error, that the MATLAB inverse for A is not always an integer matrix. To eliminate the roundoff error, you can use the command round (inv (A)) in order to round the entries of A-1 to the nearest integer. Check, by direct multiplication, that this will produce the inverse.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
Acase study allows a more detailed look at the life of a single subject than any other study.
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
How to launch an app: steps to be successful? launching an app is a great idea, but it’s not that easy as we supposed to think. the majority of mobile applications don’t generate revenue because companies aren’t ready to be competitive. referring to our experience in successfully building and launching apps we hope to you omit these difficulties. we are going to talk about ideas, marketing, testing your product, its development, distribution and support. you will learn 8 product launch stages to succeed.
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
The managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an .
Answers: 3
You know the right answer?
Generating integer matrices with integer inverses For certain simulations, it is con venient to have...
Questions
question
Chemistry, 30.06.2021 04:30
question
Mathematics, 30.06.2021 04:30
Questions on the website: 13722362