Given the following function header: function [x, y] = calcem(a, b, c) 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:1.6
All Answers
total answers (1)
[num, val] = calcem(4, 11, 2)
VALID - everything matches up (function name, # of input
and output
arguments)
result = calcem(3, 5, 7)
VALID – but – one output argument will be lost
need an explanation for this answer? contact us directly to get an explanation for this answer