Answer the question
In order to leave comments, you need to log in
Build a matrix according to the formula (interested in the value of the element "............")?
1 1 1 .... 1 1 1
0 1 1 .... 1 1 0
0 0 1 .... 1 0 0
....... <-- How to understand this? Type to do as from above or as from below by choice?
0 0 1 .... 1 0 0
0 1 1 .... 1 1 0
1 1 1 .... 1 1 1
Or something else?
Answer the question
In order to leave comments, you need to log in
It looks like you need to "mirror" the top part to get the full matrix.
And the line is, as it were, the axis of symmetry of the final matrix.
The person who gave you this assignment expects you to see a pattern in the data presented that makes it unnecessary to specify specific values instead of points.
You just have up and down diagonals of one. Sort of like an hourglass. From this, dance.
Apparently, this is a square matrix with an arbitrary, but necessarily equal and even number of elements in its width and height.
There are always two identical rows in the center of the matrix:
0000000..00000011000000..0000000
0000000..00000011000000..0000000
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question