Extract values from Histogram

조회 수: 2 (최근 30일)
zozo
zozo 2012년 7월 18일
Hello,
How can I extract the elements from certain bins in a Histogram (save in a row vector), so that I can use them for thresholding the signal?
Example:
In the above figure, I would like to have all the values in the bins ranging from -0.1 to +0.1 in a row vector so that I can use them to threshold the above signal with an aim to de-noise it.

채택된 답변

Sean de Wolski
Sean de Wolski 2012년 7월 18일
y = x(x>-0.1 & x<0.1);

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by