Question: MATLAB Question 1. Given any matrix M. Design an algorithm to determine how many of the entries are greater than 2 . If you finish

 MATLAB Question 1. Given any matrix M. Design an algorithm to

MATLAB

Question 1. Given any matrix M. Design an algorithm to determine how many of the entries are greater than 2 . If you finish designing an algorithm, then write it in matlab and test it with some arbitrary matrices. x= input("Please enter a matrix of any size") [row, col] =size(x) Question 2. We say a nn matrix A is symmetric when for all i,j=1,,n A(i,j)=A(j,i)withi=j Let's consider the following matrices A=112145252,B=[3121] A is symmetric but B is not. Write a Matlab function that will test if a matrix is symmetric or not. The function will return the number " 1 " if the matrix is symmetric and " 0 " if it is not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!