Q:

Vectorize this:

0

loc = findstr(sentence, ' ');

where = loc(1);

first = sentence(1:where-1);

last = sentence(where:end);

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

[first, last] = strtok(sentence); 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now