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
Get step-by-step solutions from verified subject matter experts
