Hi, I am trying to create a loop where someone is asked to input a sentence. I need them to keep typing sentences until they eventually type a word that will terminate the loop (such as 'END') How can I do this? Here is what I have so far.
I am an absolute beginner to Matlab and am having a lot of trouble comprehending the language of coding.
A=input('give me a sentence!: ','s');