Professional Documents
Culture Documents
CS10-8L: Computer Programming Laboratory Machine Problem #6: Strings and Functions
CS10-8L: Computer Programming Laboratory Machine Problem #6: Strings and Functions
Name: Score:
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_MP6. Ex. Isip_Cheryl_MP6
2. You will submit a zip file containing the following and send it to BB.
a. PDF file of Machine Problem 6 provided with the screenshot of your answers.
b. MATLAB function script with .m extension.
c. MATLAB script to invoke the function you created.
MACHINE PROBLEM
1. One of your friends has an awful writing style: he almost never starts a message with a capital letter, but
adds uppercase letters in random places throughout the message. It makes chatting with him very difficult
for you, so you decided to write a plugin that will change each message received from your friend into a
more readable form.
Implement a function that will change the very first symbol of the given message to uppercase, and make
all the other letters lowercase.