Question: MATLAB! Make sure its UPPER CASE Write a function rid multiple_blanks that will receive a string as an input argument. The string contains a sentence

MATLAB! Make sure its UPPER CASE  MATLAB! Make sure its UPPER CASE Write a function rid multiple_blanks

Write a function rid multiple_blanks that will receive a string as an input argument. The string contains a sentence that has multiple blank spaces in between some of the words. The function will return the string with only one blank in between words and with upper-case letters. For example, >> mystr = 'Hello and how are you? >> rid multiple blanks (mystr) HELLO AND HOW ARE YOU

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