Given the following function header: function doit(a, b) Which of the following function calls would be valid – and why?
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:6| Question number:6.6
All Answers
total answers (1)
fprintf('The result is %.1f\n', doit(4,11))
INVALID – Nothing is returned, so there is nothing to print
doit(5, 2, 11.11)
INVALID – too many input arguments
x = 11;
y = 3.3;
doit(x,y)
VALID
need an explanation for this answer? contact us directly to get an explanation for this answer