Question: This is MATLAB. Problem 2. Create a function called String_Analyzer that takes a single string input (call it Input_String). The user will input a phrase

This is MATLAB.

This is MATLAB. Problem 2. Create a function called "String_Analyzer" that takes

Problem 2. Create a function called "String_Analyzer" that takes a single string input (call it Input_String). The user will input a phrase that consists of letters and blanks such as 'It is winter' or United States of America The function should return the following four outputs: First output (call it Num Letters) should return the total number of letters in the string. Second output (call it Index_Letters) should return an array with indices of all the letters Third output (call it Num Blanks) should return the total number of blanks in the string. Fourth output (call it Index_Blanks) should return an array with indices of all the blanks est your function with input examples above

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!