birdswords
Coastal
- May 21, 2012
- 4
Hi All,
I have a logic problem I am having trouble solving with MATLAB. My objective is to select and count peaks in a dataset. However, findpeaks and peakseek function will not work.
My dataset consist mostly of electronic noise, with intermittent high frequency oscillations generated by a sensor responding to pressure impacts. When there is no pressure impacting the sensor, the dataset consist only of electronic noise (<0.00007). When the sensor is activated, the signal peaks 2-4 order of magnitude above the noise level (0.001> x >0.1). The first or second peak is the highest peak in the oscillation and the oscillation decreases at a constant rate for the next 10 to 20 observations (as the sensor returns to its equilibrium represented in the dataset as electronic noise level).
I can select out the peaks for single pressure impacts and count them. However, the PROBLEM IS counting MULTIPLE PRESSURE IMPACTS WITHIN 10-20 OBSERVATIONS...i.e. the signal peaks, then begins to decrease and a constant rate, and then another peak occurs before it reaches electronic noise.
So the problem is: how do you separate and count double peaks within a dataset that has single and double pressure impacts?
I have a logic problem I am having trouble solving with MATLAB. My objective is to select and count peaks in a dataset. However, findpeaks and peakseek function will not work.
My dataset consist mostly of electronic noise, with intermittent high frequency oscillations generated by a sensor responding to pressure impacts. When there is no pressure impacting the sensor, the dataset consist only of electronic noise (<0.00007). When the sensor is activated, the signal peaks 2-4 order of magnitude above the noise level (0.001> x >0.1). The first or second peak is the highest peak in the oscillation and the oscillation decreases at a constant rate for the next 10 to 20 observations (as the sensor returns to its equilibrium represented in the dataset as electronic noise level).
I can select out the peaks for single pressure impacts and count them. However, the PROBLEM IS counting MULTIPLE PRESSURE IMPACTS WITHIN 10-20 OBSERVATIONS...i.e. the signal peaks, then begins to decrease and a constant rate, and then another peak occurs before it reaches electronic noise.
So the problem is: how do you separate and count double peaks within a dataset that has single and double pressure impacts?