Question: for MATLAB, please use a 'for' loop 10. Assume there are two 1D arrays of the same length. Create a function called myEvenNumFinder that finds

for MATLAB, please use a 'for' loop
for MATLAB, please use a 'for' loop 10. Assume there are two

10. Assume there are two 1D arrays of the same length. Create a function called "myEvenNumFinder" that finds all indexes where both values of the same index are even. Output two arrays that contain the values where both input arrays have an even number. Use pre-defined function "rem(a, b)" that returns the remainder after division of a by b. For example, the result "rem(6.5, 3)" is 0.5.(4.0) Test Case: A = [2 4 6 5 31; B = [2 3 4 1 2]; Output: Array1 = [2 6); Array2 - [24]

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 Databases Questions!