Info

This question is closed. Reopen it to edit or answer.

Function problem in Matlab

1 view (last 30 days)
Sultan Al-Hammadi
Sultan Al-Hammadi on 29 Apr 2018
Closed: Walter Roberson on 29 Apr 2018
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!