1.

What is the range of RGB triplets for the surf command?(a) [1 0](b) [0 1](c) (0 1)(d) (0 1]This question was posed to me in final exam.I want to ask this question from Three-Dimensional Plots in section MATLAB Graphics of MATLAB

Answer»

Right answer is (B) [0 1]

To explain I would say: The RANGE of RGB triplets for the surf command is pre-defined in MATLAB as [0 1].If any other value is GIVEN as INPUT, MATLAB will give an error.



Discussion

No Comment Found

Related InterviewSolutions