Rank: 1481 based on 72 downloads (last 30 days) and 1 file submitted
photo

roberto madia

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by roberto
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Nov 2009 Level crossings Detect level crossing of signals. Author: roberto madia level crossing method, level crossing, level crossing rate, statistics, data import, data export 72 3
Comments and Ratings by roberto
Updated File Comments Rating
05 Nov 2009 Level crossings Detect level crossing of signals. Author: roberto madia

 "Traditional" algorithms means algorithms based on sum(diff(sign(Signal-OneLevel))) ~= 0) method.
For large datasets this routine is at least 5 times faster.

In case of consecutive equal values this routines calculates all crossings even tough they are all equals.

Comments and Ratings on roberto's Files View all
Updated File Comment by Comments Rating
05 Nov 2009 Level crossings Detect level crossing of signals. Author: roberto madia madia, roberto

 "Traditional" algorithms means algorithms based on sum(diff(sign(Signal-OneLevel))) ~= 0) method.
For large datasets this routine is at least 5 times faster.

In case of consecutive equal values this routines calculates all crossings even tough they are all equals.

05 Nov 2009 Level crossings Detect level crossing of signals. Author: roberto madia Jos

Just curious what you mean by "This algorithm is generally faster than traditional ones". What are the traditonal ones?

I would suspect that an operation using something using DIFF and SIGN, as in (not-tested) "sum(diff(sign(Signal-OneLevel))) ~= 0)" is faster (as well as shorter)

05 Nov 2009 Level crossings Detect level crossing of signals. Author: roberto madia Lechner, Martin

This function has problems with consecutive equal values. They are also counted as crossings.

lc_fast([0;1;1;1;1;1;0],1)
ans = 4

I would expect for the example above: 1

Top Tags Applied by roberto
level crossing, data exploration, data export, data import, level crossing method
Files Tagged by roberto View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Nov 2009 Level crossings Detect level crossing of signals. Author: roberto madia level crossing method, level crossing, level crossing rate, statistics, data import, data export 72 3
28 Aug 2007 crossing Detect zero (or any other) level crossing of signals. Author: Steffen Brueckner signal processing, detect zero, level crossing, zero crossing 164 12
  • 4.30769
4.3 | 13 ratings
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com