Is there code in matlab for short time energy feature extraction in matlab??
I want to extract audio feature (Short time energy) using matlab code
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.Sign up to join this community
Short time energy (STE) is simple feature and so is the code to compute it.
ste = sum(buffer(signal.^2, winLen));
where and winLen is duration of rectangular time window (in samples).
If you want to use diffrent shape of window, then you have to multiply each column returned by buffer by this window, before you sum the columns.
There is code on the matlab file exchange which can do exactly what you are asking for.