Find Geiger counter CPM
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1569327/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1569332/image.jpeg)
I want to figure out how many pulses there are in a given timefram (1-3 seconds)
0 comentarios
Respuestas (1)
madhan ravi
el 14 de Dic. de 2023
Editada: madhan ravi
el 14 de Dic. de 2023
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 comentarios
madhan ravi
el 15 de Dic. de 2023
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1569682/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1569687/image.png)
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.
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!