(Solved) : Character Array Called Declaration Provided Template Convert Character Array Numerical Ar Q44037008 . . .
Matlab problem

A character array called declaration is provided by the template. a. Convert the character array into a numerical array of ASCII values by multiplying it by 1 or by using the double() function. b. Determine how many capital letters are in the text. (The ASCII codes for capital letters are between 65 and 90.) c. Convert the capital letters to lowercase by adding 32 to their ASCII codes. (But do not modify the lowercase letters.) Call the modified numerical array ascii_lower. d. Convert the modified array back to text using the char() function. Call the resulting character array declaration_lower. NOTE: You may not use the built-in functions lower() and upper() in this problem. Show transcribed image text A character array called declaration is provided by the template. a. Convert the character array into a numerical array of ASCII values by multiplying it by 1 or by using the double() function. b. Determine how many capital letters are in the text. (The ASCII codes for capital letters are between 65 and 90.) c. Convert the capital letters to lowercase by adding 32 to their ASCII codes. (But do not modify the lowercase letters.) Call the modified numerical array ascii_lower. d. Convert the modified array back to text using the char() function. Call the resulting character array declaration_lower. NOTE: You may not use the built-in functions lower() and upper() in this problem.
Expert Answer
Answer to A character array called declaration is provided by the template. a. Convert the character array into a numerical array …
OR