Question: Use matlab and create a function for each please! ( 1 0 % ) Create a function using a while loop. The function asks the

Use matlab and create a function for each please!(10%) Create a function using a "while" loop. The function asks the user to input a number between 10 and 20. If the number is not within the specified limits, the user must change his/her input until he/she enters the correct value.
(10%) Develop a function myFact( n ) to calculate the factorial n!(e.g.,01,11,2!=21,3!=321,44321,dots.
Use matlab and create a function for each please!

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 Programming Questions!