Question: I am getting an error for the error('input must be a scalar') I have also tried If nume1(bill)>1||nume1(group)>1 error('Input must be a scalar') this gives
I am getting an error for the error('input must be a scalar')
I have also tried
If nume1(bill)>1||nume1(group)>1
error('Input must be a scalar')
this gives me the error that nume1 and nume2 are undefined functions.
I am not supposed to define these, how else can i do this without useing those?
USE MATLAB FOR COURSECODY

Your Function C Reset MATLAB Documentation 1 function tipTipCalc(bill, group) 2 if (bi11)>1 (group)>1 3 error('input must be a scalar' 4 5 for i-group 6 if group elseif group
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
