Question: 2. (15 points) Write a matlab function mcase(a,b,n) that generates n x n matrix A which has random integer elements from the interval [a,
2. (15 points) Write a matlab function mcase(a,b,n) that generates n x n matrix A which has random integer elements from the interval [a, b] and an n x 1 matrix B which has random elements NOT integer in the same interval and using switch-case state 4 options as p for the square of all elements of A, t for transpose of A, .d for determinant of A, x for the solution of AX = B. Note: Choice is asked to user as an input.
Step by Step Solution
There are 3 Steps involved in it
QUESTION 2 15 points Write a matlab function mcaseabn that generates n x n matrix A which has random ... View full answer
Get step-by-step solutions from verified subject matter experts
