I have a data vector that contains integers in the range -20 20.
Anther is a graph with values:

This is a sample of 96 elements from vector data. Most elements are in the range of -2, 2, as can be seen from the above graph.
I want to exclude noise from the data. I want to exclude peaks with low amplitude and keep the peak of high amplitude, namely peaks similar to those with index 74.
Basically, I just want to increase the contrast between high amplitude highs and low amplitude peaks, and if low amplitude peaks could be eliminated.
Could you suggest me a way to do this?
I tried the mapstd function, but the problem is that it also normalizes the peak with high amplitude.
I thought about using the wavelet transform toolkit, but I don’t know exactly how to recover the data from the wavelet decomposition coefficients.
Can you recommend me a way to do this?
Simon
source share