Morse
This takes a character string and encodes the string into a CW waveform with a specified sampling frequency. The function should be called as "Morse(string,wpm,fs)", string being a string of characters, wpm corresponding to words per minute, and fs representing the sampling frequency.
Credit goes to the following work for generating the original code (reused with permission from author):
[matlab] Morse code decoder, please help me (https://www.mathworks.com/matlabcentral/answers/404470-matlab-morse-code-decoder-please-help-me#answer_323647), MATLAB Answers.
Spacing is derived from:
Lacy, Tony (2007). Morse code structure and timing (http://www.nu-ware.com/NuCode%20Help/index.html?morse_code_structure_and_timing_.htm).
引用
William Barnhart (2024). Morse (https://www.mathworks.com/matlabcentral/fileexchange/73280-morse), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!