Hello all,
Need your quick help for an assignment.
The question is as follows:
Write a function division that takes a matrix A of positive integers as an input and returns two row vectors. The first one contains all the even elements of A and nothing else while the second contains all the odd elements of A and nothing else, both arranged according to column-?major order of A.
Use of While and For Loops is prohibited.
A quick reply would be deeply appreciated.
Need your quick help for an assignment.
The question is as follows:
Write a function division that takes a matrix A of positive integers as an input and returns two row vectors. The first one contains all the even elements of A and nothing else while the second contains all the odd elements of A and nothing else, both arranged according to column-?major order of A.
Use of While and For Loops is prohibited.
A quick reply would be deeply appreciated.