Question: MATLAB For questions 6 and 7, determine whether the function calls are correct or not. If they are in error, specify what is wrong with
MATLAB

For questions 6 and 7, determine whether the function calls are correct or not. If they are in error, specify what is wrong with them. 6. out=testl (6); function res=testl(x, y) res sqrt(x.^2+y.^2); 7. out=test2(12); function res=test2(x, y) error (nargchk(1, 2,nargin)); if nargin==2 res=sqrt(x.^2+y.^2); else res=x; end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
