Question: In Matlab: a. Develop a user defined function that will calculate a factorial of a number that a user enters. b. Create a script that
In Matlab:
a. Develop a user defined function that will calculate a factorial of a number that a user enters.
b. Create a script that will ask the user how many times they want to run the code (use that value to set a loop), then ask the user for the value and call the function that you wrote --- using factorial command is NOT allowed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
