Without performing actual arithmetic operations on arrays, return feasibility of operation as true or false. True if given operation can be performed on given matrices, else false.
Operation = 'Add' Matrices are: a = magic(3); b = [2 2; 2 2; 2 2]
Result: false, since size of a and b should be same to perform "Add" operation.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more