Decodes audio Morse code into text:
% [msg, ToneFreq, ditstat, dahstat] = morseDecode(y, Fs, [ToneFreq])
%
% INPUT
% y - audio signal, [nsmpl, number_of_messages]
% Fs - sampling frequency
% ToneFreq - tone frequency (optional), better be within 30 Hz of the actual one,
% if not set or is empty the actual tone frequency will be estimated
% from the signal, if set to 0, the default 1000 Hz will be used
%
% OUTPUT
% msg - decoded message
% ToneFreq - estimated tone frequency
% ditstat - "dit" interval statistics: [mean, std, min, max]
% dahstat - "dah" interval statistics: [mean, std, min, max]
%
% Based on decode.m from
% https://github.com/drid/morse-audio-decoder
%
% Peter L. Volegov
% Version 1.0.0.0, 05/17/2022
Citar como
Peter Volegov (2026). Morse decoder (https://es.mathworks.com/matlabcentral/fileexchange/111870-morse-decoder), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2022a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
