

InterviewSolution
Saved Bookmarks
1. |
What is the class of the complex number?(a) double(b) symbolic(c) character(d) arrayI had been asked this question at a job interview.My question is from Complex Arithmetic in portion Beyond the Basics of MATLAB |
Answer» CORRECT answer is (b) SYMBOLIC The EXPLANATION is: Since the complex number represented in MATLAB uses ‘i’ as a symbolic character, the class of any complex number is symbolic. It is not double and it is certainly not a character. An ARRAY is the general class of any variable or expression USED in MATLAB. |
|