Function problem in Matlab

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).

Réponses (0)

Cette question est clôturée.

Clôturé :

le 29 Avr 2018

Community Treasure Hunt

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

Start Hunting!

Translated by