Q:

Modify the previous function to use the strjoin function. Is there a difference?

0

Modify the previous function to use the strjoin function. Is there a difference?

All Answers

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

catitii.m

function outsent = catitii(ca)

outsent = '';

if iscellstr(ca)

 outsent = strjoin(ca);

end

end

Yes:

>> catitii(fishies)

ans =

tuna shark salmon cod

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