help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zero Crossing Rate - optimize implementation


From: jacek grabowski
Subject: Re: Zero Crossing Rate - optimize implementation
Date: Sat, 8 May 2010 04:22:29 +0200

2010/5/8 Akira Nishimura <address@hidden>:

> Nice solution !!
> You can get rid of the for loop !
>
>> zcr = diff(sign(s))~=0;
>
> zcr_rate = sum(reshape(zcr(1:framesize*(FN-1)), framesize, FN-1), 1);
> (...)

Well done gentlemens. I have no more questions.

-- 
Jacek Grabowski


reply via email to

[Prev in Thread] Current Thread [Next in Thread]