HW-1: Write a Matlab function that calculates the factorial of a number using the flowchart given below. Run the function in the command window. Submit the code and a screenshot of your result in the command window as a single pdf document to Yulearn. Note: the name of your file cannot be “factorial” as it is Matlab.