Decoding geiger counter signal

조회 수: 10 (최근 30일)
Robert
Robert 2023년 11월 20일
편집: Star Strider 2023년 12월 4일
I am trying to decode the signal from a geiger counter audio file (which has a clicking sound), and find out the frequency for 1 second "chunks" of it. I tried doing a frequency spectrum, but that doesnot appear to work.
  댓글 수: 2
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 11월 20일
Can you share your sample data?
Robert
Robert 2023년 12월 1일

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2023년 11월 20일
편집: Star Strider 2023년 12월 4일
If you want to divide the signal into non-overlapping segments and then analyse each segment, use the buffer function.
That would go something like this for your vector that I will call ‘signal’:
Fs = ...; % Sampling Frequency (Hz)
ts = 1; % Seconds In Each Segment
n = Fs*ts; % Samples / Column = Samples/Second * Seconds
signal_buffer = buffer(signal, n);
Each column of ‘signal_buffer’ now has a 1-second segment of ‘signal’. If ‘signal’ has more than one channel, do this for each channel. It just makes the code easier to work with and interpret.
EDIT — (21 Nov 2023 at 06:43)
Determining the frequency of the clicks in each second would require counting them. They are likely not simple square-wave pulses, and instead are probably decaying exponential sine curves. Modeling one of them and then using the findsignal function (or one of its friends) would likely make this easier.
EDIT — (4 Dec 2023 at 18:16)
If all the pulses are like the plot image (and relatively clean with no noise), use either findpeaks or islocalmax with a prominence level to detect each peak. Convert the returned indices (my preference) either directly from findpeaks or using find with islocalmax to times by using them to index into the time vector.
It might be necessary to plot a time-frequency spectrum. For that, I suggest the pspectrum funciton with the 'spectrogram' option.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by