Morse Code Decoder help!

2 次查看(过去 30 天)
dddonwign
dddonwign 2021-4-22
回答: David Hill 2021-4-22
How do i make it so that MATLAB can read words instead of letter ? Currently i can make it translate a single letter but not more than that. Im still fairly new to Matlab so i dont know much. Please help

回答(1 个)

David Hill
David Hill 2021-4-22
Look at what this does.
word='Name';
word=upper(word);
morseWord=morse(word-'@');

标签

Community Treasure Hunt

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

Start Hunting!

Translated by