Professional Documents
Culture Documents
CS10-8L: Computer Programming Laboratory Machine Problem #12: For Loops
CS10-8L: Computer Programming Laboratory Machine Problem #12: For Loops
OBJECTIVES
● To familiarize the students with the MATLAB interface.
● To enable the students to use some basic operations.
Instructions:
1. Save your file as Surname_Firstname_MP12. Ex. Santos_Jared_MP12
2. You will submit a zip file containing the following and send it to BB.
a. PDF file of Machine Problem 12 provided with the screenshot of your answers.
b. MATLAB script with .m extension.
MACHINE PROBLEM
1. Write a script that will prompt the user to input a number from 1 – 9 only and display the
figure below.