Morse Code Decoding from its spectrum
Mostrar comentarios más antiguos
I have a Morse code signal separated from a bunch of other audio sources by Blind source separation. Now I have the frequency domain signal. Could someone suggest how to decode the Morse code from its spectrum or suggest some means by which I could obtain a time-domain representation of the same from which I may manually decode the Morse code?
n = 1000;
wn = [980 1020]/(fs/2);
[b,a] = fir1(n,wn,'bandpass')
% fvtool(b,a);
f = filtfilt(b,a,y);
afil = fft(f);
% subplot(4,1,1); plot(real(bfil)); title('Frequency Response of Input Signal');
% subplot(4,1,2); plot(real(afil)); title('Frequency Response of Filtered Signal');
% subplot(4,1,3); plot(y); title('Original Sound Signal');
% subplot(4,1,4); plot(f); title('Filtered Sound Signal');
1 comentario
Daniel kiracofe
el 13 de Nov. de 2016
Would not suggest trying to decode morse code by looking at it's spectrum (i.e. a single FFT). Is it physically possible? Maybe, but it will be insanely hard. Just use the time domain signal. Note, you might have some luck using a short-time fourier transform (i.e. spectrogram or related methods), but a single fft of the whole signal is not the right approach.
"some means by which I could obtain a time-domain representation of the same"
If I understand correctly, here you are just asking how to get the time domain representation of the variable 'afil'? You already have that. it's just the variable 'f'. That's what you should focus on to decode the morse code. Or maybe I misunderstood what you are asking.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Spectral Measurements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!