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.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?