1.

What is the return type of angles in MATLAB?(a) Degrees(b) Radians(c) Radians & Degrees(d) Depends on the userThis question was addressed to me in homework.Question is from Data Classes topic in section Beyond the Basics of MATLAB

Answer»

Right ANSWER is (b) Radians

The EXPLANATION is: This is characteristic of MATLAB to TAKE input for angles and return angles in radians. Thus entering SIN(90) in MATLAB will not return 1, but entering sin(pi/2) will return 1.



Discussion

No Comment Found

Related InterviewSolutions