Morse Code
Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week
MORSE converts text to playable morse code in wav format.
SYNTAX
morse(text)
morse(text,file);
Description:
If the wave file name is specified, then the funtion will output a wav file with that file name. If only text is specified, then the function will only play the morse code wav file without saving it to a wav file.
Examples:
morse('Hello');
morse('How are you doing my friend?','morsecode.wav');
Zitieren als
Fahad Al Mahmood (2024). Morse Code (https://www.mathworks.com/matlabcentral/fileexchange/7791-morse-code), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Design >
Tags
Quellenangaben
Inspiriert: Morse/Demorse unleashed, demorse
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Removed the wav file playing if the wav file name is specified. |