Function problem in Matlab
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Write a function spellWord that will take one input(string) and return another string that seperates each letter of the word with a hyphrn: such that:spellWord('hello') will return "h-e-l-l-o":The function should include the empty string:(Use the concatenate operation to build the string).
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!