1.

Which of the following command can be is used for complex arithmetic?(a) abs()(b) atan()(c) realc()(d) imagc()The question was asked during an interview.I need to ask this question from Complex Arithmetic topic in section Beyond the Basics of MATLAB

Answer»

The correct option is (a) abs()

For explanation I would say: The abs() command is used to get the MODULUS of any complex number. The rest of the OPTIONS are wrong because they should be ‘atan2()’, ‘REAL()’ and ‘IMAG()’.



Discussion

No Comment Found

Related InterviewSolutions