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
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.