Question: (a) Use the MATLAB command randi to generate a 55 matrix X whose elements are random integer numbers between 100 and 500 . (2 points)

(a) Use the MATLAB command randi to generate a 55 matrix X whose elements are random integer numbers between 100 and 500 . (2 points) (b) Arrange the elements of X matrix in descending order (rows and column) and find the diagonal and its sum. (3 points) (c) Generate a random row vector Y whose elements are 10 random integers between 15 and +10. Then seek the even numbers along with their position indices. (3 points) (d) Also indicate the minmum and maximum values and their corresponding indices in X and Y matrices using MATLAB commands. (2 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
