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

回答(0 个)

此问题已关闭。

关闭:

2018-4-29

Community Treasure Hunt

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

Start Hunting!

Translated by