Question: 1.a - What if taken character is a string? Example: Enter some text: matlab programming Enter a character: program Found in the 8th index. b

1.a - What if taken character is a string? Example: Enter some text: matlab programming Enter a character: program Found in the 8th index.

b - Write a matlab program that takes a string and a split character from a user. You should divide taken string according to taken split character. You should hold each divided part into a vector. Finally, you should show each divided part on CW. Example: Enter some text: matlab-programming-great-a-lesson-subject. Enter a separator: - matlab programming fantastic one lesson subject.

c - Write a matlab program that takes a string and a character. You should find last index of taken character in taken string. Finally, print last index number of taken character in taken string on CW. Example: Enter some text: matlab Enter a character: a In the matlab programming text, the a character is in the 5th index at the end.

d- Write a matlab program that takes a string and a character. You should remove taken characters in taken string. Finally, you should print the obtained string on CW. Example: Enter some text: matlab programming Enter a character: a Result: mtlb program

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!