1.

Vectors depend upon brackets while scalars don’t.(a) True(b) FalseThe question was posed to me in a job interview.I'd like to ask this question from Vectors and Matrices in section MATLAB Basics of MATLAB

Answer»

The correct answer is (a) True

Explanation: To declare a scalar, we only need to declare a variable in MATLAB with a constant expression. We don’t need to include the expression with any KIND of brackets. But, we need to put the EXPRESSIONS within a bracket for row or COLUMN vector.



Discussion

No Comment Found

Related InterviewSolutions