1.

What are Max and Min in the Workspace shown below?(a) They show the maximum and minimum value of the variable(b) The show the maximum and minimum length of the variable(c) They show the maximum and minimum value present in an array(d) They show the median and mode of the variableThis question was addressed to me in my homework.My question is based upon Managing Variables in division MATLAB Basics of MATLAB

Answer»

The correct option is (C) They show the maximum and MINIMUM value present in an array

For explanation: The COLUMNS ‘Min’ and ‘Max’ show the maximum and minimum values present in a VARIABLE. So, if the variable is an array, the ‘Min’ and ‘Max’ may or may not be same. Here, a is a variable having a single CONSTANT value so they are same.



Discussion

No Comment Found

Related InterviewSolutions