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

Answers (0)

This question is closed.

Asked:

on 29 Apr 2018

Closed:

on 29 Apr 2018

Community Treasure Hunt

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

Start Hunting!