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

I am getting an error for the error('input must be a scalar')

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!