Find Geiger counter CPM
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to find the counts per minute of a geiger counter signal using Simulink.
I managed to get the signal in a digital/binary form shown below:


I want to figure out how many pulses there are in a given timefram (1-3 seconds)
0 件のコメント
回答 (1 件)
madhan ravi
2023 年 12 月 14 日
編集済み: madhan ravi
2023 年 12 月 14 日
Let A be your Interval test signal in timeseries format. Then
Pulses_1_3secs = nnz(out.A.Data((out.A.Time >= 1) & (out.A.Time <= 3))
4 件のコメント
madhan ravi
2023 年 12 月 15 日


The block under sum block in the second pic is *Unit Delay* block.
The first PWM block *Run at fixed interval* is ticked as model runs at fixed sample time.
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!