Problem 1696. Morse Code Generator! Try it!
please either fix it or remove it from the Strings II badge list
The test suite should be working now. I fixed the parentheses problem mentioned in the other comments (it should now recognize left and right parentheses as different). There were also seven spaces between words in the test suite, though the encoded description indicated five—that has been fixed, as well.
American Morse for letters but International one for punctuation + other mixups, to fix
Solution CommentsShow comments
Problem Recent Solvers66
Convert a vector into a number
Make a vector of prime numbers
Mean and standard deviation of times in string
Generate a melodic contour string matrix
More from this Author17
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!