Code covered by the BSD License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

### Highlights from Short-time Energy and Zero Crossing Rate

4.71429
4.7 | 8 ratings Rate this file 43 Downloads (last 30 days) File Size: 60.3 KB File ID: #23571 Version: 1.2

# Short-time Energy and Zero Crossing Rate

### Nabin S Sharma (view profile)

06 Apr 2009 (Updated )

Compute the short time energy (STE) and short-time zero crossing rate (STZCR) of a signal.

File Information
Description

Python version: https://github.com/nssh/dsp

This folder contains two simple functions (zerocross and energy) to compute STE and STZCR.

The script zcr_ste_so.m uses these two and other functions (included) to compute the STE and STZCR
of the word 'so'.

See the respective function help for more details.

Required Products Signal Processing Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Comments and Ratings (12)
20 Apr 2016 Jonathan Ouaknine

### Jonathan Ouaknine (view profile)

how the hell are we suppose to fixe your "winlen" for energy function, it's the length of the window, i'm ruining myself by finding out how to determin it without lucky shot.

19 Apr 2016 najah G

### najah G (view profile)

25 Sep 2015 afiqiqmal

### afiqiqmal (view profile)

oh..remove already done..but i wonder which one is STE, ZCR and ZCRSTE??

24 Sep 2015 afiqiqmal

### afiqiqmal (view profile)

24 Sep 2015 afiqiqmal

### afiqiqmal (view profile)

Sir..but how to remove the silence part?

Comment only
25 Mar 2015 Elizabeth Rocha

### Elizabeth Rocha (view profile)

thanks! :D

Comment only
04 Mar 2015 Catarina Martins

### Catarina Martins (view profile)

Very nice funcion
Thank you!
I think that the output of the energy vector should be cut to the length of the original signal, at least that make sense in my work.

24 Feb 2012 Nabin S Sharma

### Nabin S Sharma (view profile)

thanks all.

@John, its not a simple multiply. Please get some reference on zero-cross rate.

Comment only
15 Dec 2011 zuo

### zuo (view profile)

thanks

Comment only
12 Jan 2010 John Gar

### John Gar (view profile)

A good work!! But, why you use convolution to multiplicate the window in the ZCR? It's not a simple multiply?

17 Jun 2009 Adam Hartz

### Adam Hartz (view profile)

11 May 2009 Diego

### Diego (view profile)

Good work, man! It helped me a lot!

Thanks and good luck!