Question: For the following problem, write a single MATLAB statement that will accomplish the stated purpose. Assume a character array TS 1 has already been defined.

For the following problem, write a single MATLAB statement that will accomplish the stated purpose. Assume a character array TS1 has already been defined.
Find all occurrences of the string @3G in string TS1 and place the locations of the first character of each such substring (@) into Str3G. Example: TS1='%@3Gb6kl@3G9@33G' returns Str3G=[29]

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!