Question: 7. Write Matlab code called big.m that takes as input a list of positive numbers one at a time, stopping when zero is entered. It

 7. Write Matlab code called big.m that takes as input a

7. Write Matlab code called big.m that takes as input a list of positive numbers one at a time, stopping when zero is entered. It should output the number of numbers entered (before the zero), as well as the largest number in the list. For example, if the input numbers (one per line) were 1, 5, 2, 7, 3, 0, then the output would be that there are 5 numbers, and the maximum is 7. I expect you will use a loop with a conditional statement inside it. Make sure you follow the guidelines with regard to commenting, preamble, and nicely for- matted output. Submit your Matlab file

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!