Question: Q 1 ) Write down a function that does the following: 1 ) checks if the input is a matrix, 2 ) if it is
Q Write down a function that does the following: checks if the input is a matrix, if it is a matrix checks if it is square and if it is square prints the sum of its diagonal elements. Hint: Use If statements andor conditions on arguments. points
Use the Plot command to produce two SEPARATE graphs next to each other on e same line for and between zero and with red and green colors, espectively. Show ticks and the options for thickness, asrect ratio, axes title and frame. points
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
