Question: Construct a function called mat 2 that does the same as mat 1 except that it first checks if the input is a matrix and
Construct a function called mat that does the same as mat except that it first checks if the
input is a matrix and outputs an error message and nothing else if it is not a matrix
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
