Question: Construct an IF block that performs elementwise division with two non-empty arrays, A and B, if they are of the same size or, otherwise, it

Construct an IF block that performs elementwise division with two non-empty arrays, A and B, if they are of the same size or, otherwise, it extracts submatrices A2 and B2 of the same size from A and B and it performs elementwise division with them instead.

Please have the code in MATLAB, thank you

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