Question: You are working for the military deciphering codes hidden in matrices by the enemy. You have figured out that the enemy hides important values starting

You are working for the military deciphering codes hidden in matrices by the enemy. You have figured out that the enemy hides important values starting at the 2nd value in each column and skipping every 4 elements down each column. This continues for every third column starting at the first column. It's discovered that if the found value is less than 15 then it corresponds to a zero otherwise, it corresponds to a one. Have your function output a vector of ones and zeros which correspond to the important values found in the matrix in the correct order.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!