Question: please help in java Write a program that can determine which, if any, of the following properties a binary matrix exhibits: symmetric anti-symmetric asymmetric (from
please help in java
Write a program that can determine which, if any, of the following properties a binary matrix exhibits:
- symmetric
- anti-symmetric
- asymmetric (from the textbook)
- reflexive or anti-reflexive (or neither of course)
Program Requirements:
Hard code at least 4 binary matrices all of size 4x4. Display each binary matrix and the the properties it exhibits.
For example:
A = 0 1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
A - anti-reflexive, anti-symmetric, asymmetric
B = 1 1 1 0
1 0 0 0
1 0 0 0
0 0 0 0
B - symmetric
C = 1 1 0 1
1 0 1 1
1 0 1 1
0 1 1 0
C none
and so on for at least 4 binary matrices
You can hard code the matrices but DO NOT hard code the properties. The program must determine the properties. (I should be able to change the values of your matrix and get a different answer)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
