Answer the question
In order to leave comments, you need to log in
How to correctly compare the columns of a matrix?
Hello, please help me to draw up the logic of the solution - you need to compare the columns in a two-dimensional array, if they are equal, then leave only the first of the matching columns. (Coinciding columns are columns in which all corresponding elements are equal to each other). Thanks in advance for your help!
Answer the question
In order to leave comments, you need to log in
The logic is very simple:
Compare columns in a two-dimensional array, if they are equal then leave only the first of the matching columns. (Coinciding columns are columns in which all corresponding elements are equal to each other).
You're welcome.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question