Morse International Code

버전 1.0 (14.4 KB) 작성자: François Beauducel
Morse International Code translation and audio output
다운로드 수: 4
업데이트 날짜: 2023/6/20

MORSE: International Morse Code


This function written in GNU Octave/Matlab language, translates a text into Morse code, as dot and dash string, binary vector or sound audio file. Giving a Morse code string as input, it translates back to the original text.

International Morse Code


> morse('SOS')
... --- ...
> s=morse('.-- .... .- -   .... .- - ....   --. --- -..   .-- .-. --- ..- --. .... - ..--..')
> morse('What Hath God Wrought?','audio')

The last command will play this sound:


which is the very first message sent by inventor Samuel F.B. Morse on May 24, 1844, over an experimental line from Washington, D.C., to Baltimore.

Type doc morse or help morse for syntax and options. View Morse International Code on File Exchange


François Beauducel, IPGP, beaudu,

인용 양식

François Beauducel (2024). Morse International Code (, GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.