Morse

A simple function used to encode ASCII characters into Morse code signals.
98 Downloads
Updated Wed, 06 Nov 2019 23:05:44 +0000

View License

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

Cite As

William Barnhart (2024). Morse (https://www.mathworks.com/matlabcentral/fileexchange/73280-morse), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulation, Tuning, and Visualization in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.1

Changed description.

1.0.0